summaryrefslogtreecommitdiff
path: root/drivers/media/usb/stk1160/stk1160-ac97.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 16:30:37 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 16:30:37 +0300
commit504fc0286d847a23aed30bea214a9e51802f0318 (patch)
treec14a3cb14dac56bfad5c115243f7a7e05a0e2614 /drivers/media/usb/stk1160/stk1160-ac97.c
parent9a4825edbcd6f7d7da88696412c6b0436ed7cc0b (diff)
downloadlinux-504fc0286d847a23aed30bea214a9e51802f0318.tar.xz
[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>
Diffstat (limited to 'drivers/media/usb/stk1160/stk1160-ac97.c')
-rw-r--r--drivers/media/usb/stk1160/stk1160-ac97.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/usb/stk1160/stk1160-ac97.c b/drivers/media/usb/stk1160/stk1160-ac97.c
index 85f0b84a33b8..2169be8a71dd 100644
--- a/drivers/media/usb/stk1160/stk1160-ac97.c
+++ b/drivers/media/usb/stk1160/stk1160-ac97.c
@@ -114,7 +114,7 @@ void stk1160_ac97_dump_regs(struct stk1160 *dev)
}
#endif
-int stk1160_has_audio(struct stk1160 *dev)
+static int stk1160_has_audio(struct stk1160 *dev)
{
u8 value;
@@ -122,7 +122,7 @@ int stk1160_has_audio(struct stk1160 *dev)
return !(value & STK1160_POSV_L_ACDOUT);
}
-int stk1160_has_ac97(struct stk1160 *dev)
+static int stk1160_has_ac97(struct stk1160 *dev)
{
u8 value;