aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttvp.h
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2006-08-25 15:53:04 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:00:59 -0500
commit4b9b936f278163614543d66f8e8c93d5484dd148 (patch)
treef7f03bb576f318a32f3d0959ccf41f7031f241be /drivers/media/video/bt8xx/bttvp.h
parent40c6e683a238c561db00c4fdfead43cb3b19d75f (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/bttvp.h')
-rw-r--r--drivers/media/video/bt8xx/bttvp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h
index fdd78f8b1dc3..4a02f0a8a467 100644
--- a/drivers/media/video/bt8xx/bttvp.h
+++ b/drivers/media/video/bt8xx/bttvp.h
@@ -336,9 +336,10 @@ struct bttv {
336 /* old gpio interface */ 336 /* old gpio interface */
337 wait_queue_head_t gpioq; 337 wait_queue_head_t gpioq;
338 int shutdown; 338 int shutdown;
339#ifdef CONFIG_VIDEO_V4L1 339
340 void (*audio_hook)(struct bttv *btv, struct video_audio *v, int set); 340 void (*volume_gpio)(struct bttv *btv, __u16 volume);
341#endif 341 void (*audio_mode_gpio)(struct bttv *btv, struct v4l2_tuner *tuner, int set);
342
342 /* new gpio interface */ 343 /* new gpio interface */
343 spinlock_t gpio_lock; 344 spinlock_t gpio_lock;
344 345