]> git.karo-electronics.de Git - linux-beck.git/commit
drm/msm: add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Sat, 22 Oct 2016 09:17:45 +0000 (17:17 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 24 Oct 2016 14:28:25 +0000 (16:28 +0200)
commitc170a14e20299f600f5d5949933cf3b300fee375
tree034248f4e2ae411c6f82934978208ff65cce59ff
parenta5725ab0497ad91a2df7c01a78bf1a0cc5be4526
drm/msm: add missing header dependencies

We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/msm/msm_debugfs.c:141:5: warning: no previous prototype for 'msm_debugfs_init' [-Wmissing-prototypes]
drivers/gpu/drm/msm/msm_debugfs.c:158:6: warning: no previous prototype for 'msm_debugfs_cleanup' [-Wmissing-prototypes]

In fact, these functions are declared in
drivers/gpu/drm/msm/msm_debugfs.h.
So this patch adds missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1477127865-9381-2-git-send-email-baoyou.xie@linaro.org
drivers/gpu/drm/msm/msm_debugfs.c