提交 fa9448d9 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[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: NHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 d6972cc8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册