mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
1b50037315
commit
6994ca3df1
2 changed files with 37 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue