drm/amdkfd: add missing void argument to function kgd2kfd_init
authorColin Ian King <colin.king@canonical.com>
Sat, 5 Oct 2019 17:58:08 +0000 (18:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:10:26 +0000 (15:10 -0500)
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>
drivers/gpu/drm/amd/amdkfd/kfd_module.c

index 986ff52..f4b7f7e 100644 (file)
@@ -82,7 +82,7 @@ static void kfd_exit(void)
        kfd_chardev_exit();
 }
 
-int kgd2kfd_init()
+int kgd2kfd_init(void)
 {
        return kfd_init();
 }