aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_module.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-10-05 18:58:08 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-10-07 15:10:26 -0500
commit63617d8b125ed9f674133dd000b6df58d6b2965a (patch)
treea866c59505eafdab2463fbe38487d826234bbe4a /drivers/gpu/drm/amd/amdkfd/kfd_module.c
parentdrm/amdgpu: remove duplicated include from mmhub_v1_0.c (diff)
downloadlinux-dev-63617d8b125ed9f674133dd000b6df58d6b2965a.tar.xz
linux-dev-63617d8b125ed9f674133dd000b6df58d6b2965a.zip
drm/amdkfd: add missing void argument to function kgd2kfd_init
Function kgd2kfd_init is missing a void argument, add it to clean up the non-ANSI function declaration. Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_module.c')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_module.c b/drivers/gpu/drm/amd/amdkfd/kfd_module.c
index 986ff52d5750..f4b7f7e6c40e 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_module.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_module.c
@@ -82,7 +82,7 @@ static void kfd_exit(void)
kfd_chardev_exit();
}
-int kgd2kfd_init()
+int kgd2kfd_init(void)
{
return kfd_init();
}