diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 6873d9a85ef1..ce1c2e0b065e 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/input.h> | 29 | #include <linux/input.h> |
30 | #include <linux/notifier.h> | 30 | #include <linux/notifier.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/mutex.h> | ||
32 | 33 | ||
33 | #include <asm/io.h> | 34 | #include <asm/io.h> |
34 | 35 | ||
@@ -60,6 +61,7 @@ enum saa7134_tvaudio_mode { | |||
60 | TVAUDIO_FM_K_STEREO = 4, | 61 | TVAUDIO_FM_K_STEREO = 4, |
61 | TVAUDIO_NICAM_AM = 5, | 62 | TVAUDIO_NICAM_AM = 5, |
62 | TVAUDIO_NICAM_FM = 6, | 63 | TVAUDIO_NICAM_FM = 6, |
64 | TVAUDIO_AM_MONO = 7 | ||
63 | }; | 65 | }; |
64 | 66 | ||
65 | enum saa7134_audio_in { | 67 | enum saa7134_audio_in { |
@@ -210,6 +212,15 @@ struct saa7134_format { | |||
210 | #define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS 82 | 212 | #define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS 82 |
211 | #define SAA7134_BOARD_CINERGY250PCI 83 | 213 | #define SAA7134_BOARD_CINERGY250PCI 83 |
212 | #define SAA7134_BOARD_FLYDVB_TRIO 84 | 214 | #define SAA7134_BOARD_FLYDVB_TRIO 84 |
215 | #define SAA7134_BOARD_AVERMEDIA_777 85 | ||
216 | #define SAA7134_BOARD_FLYDVBT_LR301 86 | ||
217 | #define SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331 87 | ||
218 | #define SAA7134_BOARD_TEVION_DVBT_220RF 88 | ||
219 | #define SAA7134_BOARD_ELSA_700TV 89 | ||
220 | #define SAA7134_BOARD_KWORLD_ATSC110 90 | ||
221 | #define SAA7134_BOARD_AVERMEDIA_A169_B 91 | ||
222 | #define SAA7134_BOARD_AVERMEDIA_A169_B1 92 | ||
223 | #define SAA7134_BOARD_MD7134_BRIDGE_2 93 | ||
213 | 224 | ||
214 | #define SAA7134_MAXBOARDS 8 | 225 | #define SAA7134_MAXBOARDS 8 |
215 | #define SAA7134_INPUT_MAX 8 | 226 | #define SAA7134_INPUT_MAX 8 |
@@ -359,7 +370,7 @@ struct saa7134_fh { | |||
359 | 370 | ||
360 | /* dmasound dsp status */ | 371 | /* dmasound dsp status */ |
361 | struct saa7134_dmasound { | 372 | struct saa7134_dmasound { |
362 | struct semaphore lock; | 373 | struct mutex lock; |
363 | int minor_mixer; | 374 | int minor_mixer; |
364 | int minor_dsp; | 375 | int minor_dsp; |
365 | unsigned int users_dsp; | 376 | unsigned int users_dsp; |
@@ -423,7 +434,7 @@ struct saa7134_mpeg_ops { | |||
423 | /* global device status */ | 434 | /* global device status */ |
424 | struct saa7134_dev { | 435 | struct saa7134_dev { |
425 | struct list_head devlist; | 436 | struct list_head devlist; |
426 | struct semaphore lock; | 437 | struct mutex lock; |
427 | spinlock_t slock; | 438 | spinlock_t slock; |
428 | #ifdef VIDIOC_G_PRIORITY | 439 | #ifdef VIDIOC_G_PRIORITY |
429 | struct v4l2_prio_state prio; | 440 | struct v4l2_prio_state prio; |
@@ -546,6 +557,7 @@ struct saa7134_dev { | |||
546 | /* saa7134-core.c */ | 557 | /* saa7134-core.c */ |
547 | 558 | ||
548 | extern struct list_head saa7134_devlist; | 559 | extern struct list_head saa7134_devlist; |
560 | extern int saa7134_no_overlay; | ||
549 | 561 | ||
550 | void saa7134_track_gpio(struct saa7134_dev *dev, char *msg); | 562 | void saa7134_track_gpio(struct saa7134_dev *dev, char *msg); |
551 | 563 | ||