Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] stk1160: make some functions static

As warned by gcc:

drivers/media/usb/stk1160/stk1160-ac97.c:117:5: warning: no previous prototype for 'stk1160_has_audio' [-Wmissing-prototypes]
int stk1160_has_audio(struct stk1160 *dev)
^~~~~~~~~~~~~~~~~
drivers/media/usb/stk1160/stk1160-ac97.c:125:5: warning: no previous prototype for 'stk1160_has_ac97' [-Wmissing-prototypes]
int stk1160_has_ac97(struct stk1160 *dev)
^~~~~~~~~~~~~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

+2 -2
+2 -2
drivers/media/usb/stk1160/stk1160-ac97.c
··· 114 114 } 115 115 #endif 116 116 117 - int stk1160_has_audio(struct stk1160 *dev) 117 + static int stk1160_has_audio(struct stk1160 *dev) 118 118 { 119 119 u8 value; 120 120 ··· 122 122 return !(value & STK1160_POSV_L_ACDOUT); 123 123 } 124 124 125 - int stk1160_has_ac97(struct stk1160 *dev) 125 + static int stk1160_has_ac97(struct stk1160 *dev) 126 126 { 127 127 u8 value; 128 128