linux/drivers/gpu
Baoyou Xie 519570ad4e UPSTREAM: drm: bridge: analogix/dp: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1053:5: warning: no previous prototype for 'analogix_dp_get_modes' [-Wmissing-prototypes]
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1097:1: warning: no previous prototype for 'analogix_dp_detect' [-Wmissing-prototypes]

In fact, both functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks both functions with 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1474788764-6069-1-git-send-email-baoyou.xie@linaro.org

Change-Id: Idea810a90652d2f75416bcd0dd590444e1b269a8
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit 089cfdd9b0)
2018-10-11 12:11:58 +08:00
..
arm MALI: utgard: RK: do not build ump on Kbuild 2018-09-10 21:02:53 +08:00
drm UPSTREAM: drm: bridge: analogix/dp: mark symbols static where possible 2018-10-11 12:11:58 +08:00
host1x
ipu-v3
rogue rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
rogue_m rk: add SPDX license identifier to files with no license 2018-01-31 20:56:06 +08:00
vga
Makefile