diff options
author | Nickolay V. Shmyrev <nshmyrev@yandex.ru> | 2006-08-25 15:53:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:00:59 -0500 |
commit | 4b9b936f278163614543d66f8e8c93d5484dd148 (patch) | |
tree | f7f03bb576f318a32f3d0959ccf41f7031f241be /drivers/media/video/bt8xx/bttv.h | |
parent | 40c6e683a238c561db00c4fdfead43cb3b19d75f (diff) |
V4L/DVB (6416): Split hooks on volume and audio mode and rework their handling
Also convert audio_mode_gpio functions from audio_hook
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv.h')
-rw-r--r-- | drivers/media/video/bt8xx/bttv.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttv.h b/drivers/media/video/bt8xx/bttv.h index 2edef15ba35c..bf4c339a520c 100644 --- a/drivers/media/video/bt8xx/bttv.h +++ b/drivers/media/video/bt8xx/bttv.h | |||
@@ -241,9 +241,10 @@ struct tvcard | |||
241 | unsigned int radio_addr; | 241 | unsigned int radio_addr; |
242 | 242 | ||
243 | unsigned int has_radio; | 243 | unsigned int has_radio; |
244 | #ifdef CONFIG_VIDEO_V4L1 | 244 | |
245 | void (*audio_hook)(struct bttv *btv, struct video_audio *v, int set); | 245 | void (*volume_gpio)(struct bttv *btv, __u16 volume); |
246 | #endif | 246 | void (*audio_mode_gpio)(struct bttv *btv, struct v4l2_tuner *tuner, int set); |
247 | |||
247 | void (*muxsel_hook)(struct bttv *btv, unsigned int input); | 248 | void (*muxsel_hook)(struct bttv *btv, unsigned int input); |
248 | }; | 249 | }; |
249 | 250 | ||