diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-04-15 09:32:57 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-05-04 10:37:15 +0300 |
commit | 6c4e691c342dfbad553a89dc246037ef3dce3b12 (patch) | |
tree | 819681146be88199281efc09255ae882b80942e2 | |
parent | 64b41e9f9367e8158636c298df25163181d48e0c (diff) |
hsa/radeon: Various kernel styling fixes
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
-rw-r--r-- | drivers/gpu/hsa/radeon/kfd_aperture.c | 2 | ||||
-rw-r--r-- | drivers/gpu/hsa/radeon/kfd_module.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/hsa/radeon/kfd_aperture.c b/drivers/gpu/hsa/radeon/kfd_aperture.c index a75e333bd6a5..ef6de27a724d 100644 --- a/drivers/gpu/hsa/radeon/kfd_aperture.c +++ b/drivers/gpu/hsa/radeon/kfd_aperture.c @@ -28,7 +28,7 @@ #include <linux/sched.h> #include <linux/slab.h> #include <linux/uaccess.h> -#include <asm/compat.h> +#include <linux/compat.h> #include <uapi/linux/kfd_ioctl.h> #include <linux/time.h> #include "kfd_priv.h" diff --git a/drivers/gpu/hsa/radeon/kfd_module.c b/drivers/gpu/hsa/radeon/kfd_module.c index 0355fc639eaf..d420245fac6b 100644 --- a/drivers/gpu/hsa/radeon/kfd_module.c +++ b/drivers/gpu/hsa/radeon/kfd_module.c @@ -21,6 +21,7 @@ */ #include <linux/module.h> +#include <linux/device.h> #include "kfd_priv.h" #define DRIVER_AUTHOR "Andrew Lewycky, Oded Gabbay, Evgeny Pinchuk, others." @@ -72,7 +73,7 @@ kfd_module_init(void) if (err < 0) goto err_ioctl; - pr_info("[hsa] Initialized kfd module"); + dev_info(kfd_device, "Initialized module\n"); err = kfd_topology_init(); if (err < 0) @@ -93,7 +94,7 @@ kfd_module_exit(void) kfd_topology_shutdown(); radeon_kfd_chardev_exit(); radeon_kfd_pasid_exit(); - pr_info("[hsa] Removed kfd module"); + dev_info(kfd_device, "Removed module\n"); } module_init(kfd_module_init); |