summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-01-15 17:10:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 10:13:50 -0200
commit6994ca3df1b4cd7a2577a1b6e41431d8ace457a4 (patch)
tree4705c3bf52519179c93ac428fb2816e9e1869af6 /include/media
parent1b500373157c7c4da2765e3416834e86224373d6 (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.h5
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 {
int (*ext_init)(struct snd_tea575x *tea);
};
+int snd_tea575x_enum_freq_bands(struct snd_tea575x *tea,
+ struct v4l2_frequency_band *band);
+int snd_tea575x_g_tuner(struct snd_tea575x *tea, struct v4l2_tuner *v);
+int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea,
+ const struct v4l2_hw_freq_seek *a);
int snd_tea575x_hw_init(struct snd_tea575x *tea);
int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner);
void snd_tea575x_exit(struct snd_tea575x *tea);