drm/hisilicon: Fix build error of no type of module_init
authorTian Tao <tiantao6@hisilicon.com>
Thu, 13 Aug 2020 03:39:15 +0000 (11:39 +0800)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 13 Aug 2020 07:58:16 +0000 (09:58 +0200)
commit70c7fe17f370c03e90868cbf24c09a6c5db9c536
tree68a12828624d81f0a377c2497d7d66aec15bdd23
parent1930d19cb49930b7d5be0379be9f88fcbeba9976
drm/hisilicon: Fix build error of no type of module_init

Add missing include to fix build error:
hibmc_drm_drv.c:385:1: warning: data definition has no type or storage
class [enabled by default]
hibmc_drm_drv.c:385:1: error: type defaults to ‘int’ in declaration
of ‘module_init’ [-Werror=implicit-int]
hibmc_drm_drv.c:385:1: warning: parameter names (without types) in function
of ‘module_exit’ [-Werror=implicit-int]
hibmc_drm_drv.c:385:292:1: warning: parameter names (without types) in
function declaration [enabled by default]

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1597289955-27381-1-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c