1
0
Fork 0
alistair23-linux/drivers/gpu/drm/i2c
Baoyou Xie c20ea8fd49 drm/i2c/tda998x: mark symbol static where possible
We get 1 warning when building kernel with W=1:
drivers/gpu/drm/i2c/tda998x_drv.c:1292:5: warning: no previous prototype for 'tda998x_audio_digital_mute' [-Wmissing-prototypes]

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

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/1477127682-3615-1-git-send-email-baoyou.xie@linaro.org
2016-10-24 16:27:16 +02:00
..
Kconfig Merge branch 'drm-tda998x-devel' of git://git.armlinux.org.uk/~rmk/linux-arm into drm-next 2016-09-13 10:28:17 +10:00
Makefile drm/i2c: adv7511: Move to bridge folder 2016-07-13 14:24:35 +05:30
ch7006_drv.c drm/i2c/ch7006: Use helper to turn off CRTC 2016-06-24 08:49:37 +02:00
ch7006_mode.c drm/i2c/ch7006: Constify ch7006_tv_norms[] and ch7006_modes[] 2015-09-08 13:45:53 +02:00
ch7006_priv.h drm/i2c/ch7006: Constify ch7006_tv_norms[] and ch7006_modes[] 2015-09-08 13:45:53 +02:00
sil164_drv.c drm/i2c/sil164: removed unnecessary code, mode_fixup is now optional. 2016-02-11 09:24:00 +01:00
tda998x_drv.c drm/i2c/tda998x: mark symbol static where possible 2016-10-24 16:27:16 +02:00