Commit 70c7fe17 authored by Tian Tao's avatar Tian Tao Committed by Thomas Zimmermann

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: default avatarTian Tao <tiantao6@hisilicon.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1597289955-27381-1-git-send-email-tiantao6@hisilicon.com
parent 1930d19c
......@@ -11,6 +11,7 @@
* Jianhua Li <lijianhua@huawei.com>
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <drm/drm_atomic_helper.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment