diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-06 07:49:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:54:04 -0400 |
commit | fa9448d9bdbae42bb10545f6fcfc980f38f53aa8 (patch) | |
tree | 9691d115346e502ffdab6f5596dea8b4d62c1698 /drivers | |
parent | d6972cc8a35514a518ef9c9f608327851cd2e856 (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/cx23885/altera-ci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/altera-ci.h b/drivers/media/video/cx23885/altera-ci.h index bf0aa2c9b070..70e4fd69ad9e 100644 --- a/drivers/media/video/cx23885/altera-ci.h +++ b/drivers/media/video/cx23885/altera-ci.h | |||
@@ -68,7 +68,7 @@ static inline int altera_ci_irq(void *dev) | |||
68 | return 0; | 68 | return 0; |
69 | } | 69 | } |
70 | 70 | ||
71 | static int altera_ci_tuner_reset(void *dev, int ci_nr) | 71 | static inline int altera_ci_tuner_reset(void *dev, int ci_nr) |
72 | { | 72 | { |
73 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); | 73 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
74 | return 0; | 74 | return 0; |