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

Commit fa9448d9 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] altera-ci.h: add missing inline



Functions defined in a header should be static inline. This prevents
compile warnings like:

	'altera_ci_tuner_reset' defined but not used

(Actually appeared in the media backwards compatibility build).

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d6972cc8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@ static inline int altera_ci_irq(void *dev)
	return 0;
	return 0;
}
}


static int altera_ci_tuner_reset(void *dev, int ci_nr)
static inline int altera_ci_tuner_reset(void *dev, int ci_nr)
{
{
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
	return 0;
	return 0;