]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Thu, 8 Sep 2016 11:08:56 +0000 (19:08 +0800)
committerJyri Sarha <jsarha@ti.com>
Thu, 22 Sep 2016 20:50:08 +0000 (23:50 +0300)
commit0fd86779f04afcddbcff0ecb7ff3b487d17add7c
tree0a42c77c5e0723b47d58382258e75b1a00d258c0
parent2e0965b06d90b9dba76198d026c4c2ee04443aca
drm/tilcdc: add missing header dependencies

We get 4 warnings when building kernel with W=1:
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:393:12: warning: no previous prototype for 'tilcdc_tfp410_init' [-Wmissing-prototypes]
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c:398:13: warning: no previous prototype for 'tilcdc_tfp410_fini' [-Wmissing-prototypes]
drivers/gpu/drm/tilcdc/tilcdc_panel.c:443:12: warning: no previous prototype for 'tilcdc_panel_init' [-Wmissing-prototypes]
drivers/gpu/drm/tilcdc/tilcdc_panel.c:448:13: warning: no previous prototype for 'tilcdc_panel_fini' [-Wmissing-prototypes]

In fact, these functions are declared in
drivers/gpu/drm/tilcdc/tilcdc_tfp410.h,
drivers/gpu/drm/tilcdc/tilcdc_panel.h,
so this patch adds missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_panel.c
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c