Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 10:03:18AM +0200, Thomas Zimmermann wrote: > Hi > > Am 13.08.20 um 05:39 schrieb Tian Tao: > > 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:

Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 05:39 schrieb Tian Tao: > 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]

[PATCH] drm/hisilicon: Fix build error of no type of module_init

2020-08-12 Thread Tian Tao
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