Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 504fc028 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 9a4825ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;