mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 17:27:11 -04:00
[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: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
d6972cc8a3
commit
fa9448d9bd
@@ -68,7 +68,7 @@ static inline int altera_ci_irq(void *dev)
|
||||
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__);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user