diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-25 15:32:44 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-09-25 22:59:02 +0200 |
commit | 089cfdd9b0ec1b21d3356d2e057f69b89d46ae66 (patch) | |
tree | 8b5dc5adb76f46338d27a4c80a6c78ac8830f3be /drivers/gpu/drm/drm_dp_helper.c | |
parent | 41bb156ea950e8f9c8730e60aaaca7eb9754c173 (diff) | |
download | kernel_replicant_linux-089cfdd9b0ec1b21d3356d2e057f69b89d46ae66.tar.gz kernel_replicant_linux-089cfdd9b0ec1b21d3356d2e057f69b89d46ae66.tar.bz2 kernel_replicant_linux-089cfdd9b0ec1b21d3356d2e057f69b89d46ae66.zip |
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
Diffstat (limited to 'drivers/gpu/drm/drm_dp_helper.c')
0 files changed, 0 insertions, 0 deletions