diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2015-01-15 15:10:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-27 07:13:50 -0500 |
commit | 6994ca3df1b4cd7a2577a1b6e41431d8ace457a4 (patch) | |
tree | 4705c3bf52519179c93ac428fb2816e9e1869af6 /include/media | |
parent | 1b500373157c7c4da2765e3416834e86224373d6 (diff) |
[media] tea575x: split and export functions
Split ioctl interface from enum_freq_bands, g_tuner and s_hw_freq_seek
functions and export them to be used in other drivers like bttv.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/tea575x.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/tea575x.h b/include/media/tea575x.h index 2d4fa59db902..5d096578b736 100644 --- a/include/media/tea575x.h +++ b/include/media/tea575x.h | |||
@@ -71,6 +71,11 @@ struct snd_tea575x { | |||
71 | int (*ext_init)(struct snd_tea575x *tea); | 71 | int (*ext_init)(struct snd_tea575x *tea); |
72 | }; | 72 | }; |
73 | 73 | ||
74 | int snd_tea575x_enum_freq_bands(struct snd_tea575x *tea, | ||
75 | struct v4l2_frequency_band *band); | ||
76 | int snd_tea575x_g_tuner(struct snd_tea575x *tea, struct v4l2_tuner *v); | ||
77 | int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea, | ||
78 | const struct v4l2_hw_freq_seek *a); | ||
74 | int snd_tea575x_hw_init(struct snd_tea575x *tea); | 79 | int snd_tea575x_hw_init(struct snd_tea575x *tea); |
75 | int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner); | 80 | int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner); |
76 | void snd_tea575x_exit(struct snd_tea575x *tea); | 81 | void snd_tea575x_exit(struct snd_tea575x *tea); |