diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index e9fd55b57fa6..cfa8668784b4 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #include "cx88-reg.h" | 35 | #include "cx88-reg.h" |
36 | 36 | ||
37 | #include <linux/version.h> | 37 | #include <linux/version.h> |
38 | #include <linux/mutex.h> | ||
38 | #define CX88_VERSION_CODE KERNEL_VERSION(0,0,5) | 39 | #define CX88_VERSION_CODE KERNEL_VERSION(0,0,5) |
39 | 40 | ||
40 | #ifndef TRUE | 41 | #ifndef TRUE |
@@ -62,7 +63,7 @@ | |||
62 | /* need "shadow" registers for some write-only ones ... */ | 63 | /* need "shadow" registers for some write-only ones ... */ |
63 | #define SHADOW_AUD_VOL_CTL 1 | 64 | #define SHADOW_AUD_VOL_CTL 1 |
64 | #define SHADOW_AUD_BAL_CTL 2 | 65 | #define SHADOW_AUD_BAL_CTL 2 |
65 | #define SHADOW_MAX 2 | 66 | #define SHADOW_MAX 3 |
66 | 67 | ||
67 | /* FM Radio deemphasis type */ | 68 | /* FM Radio deemphasis type */ |
68 | enum cx88_deemph_type { | 69 | enum cx88_deemph_type { |
@@ -187,6 +188,8 @@ extern struct sram_channel cx88_sram_channels[]; | |||
187 | #define CX88_BOARD_DNTV_LIVE_DVB_T_PRO 42 | 188 | #define CX88_BOARD_DNTV_LIVE_DVB_T_PRO 42 |
188 | #define CX88_BOARD_KWORLD_DVB_T_CX22702 43 | 189 | #define CX88_BOARD_KWORLD_DVB_T_CX22702 43 |
189 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL 44 | 190 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL 44 |
191 | #define CX88_BOARD_KWORLD_HARDWARE_MPEG_TV_XPERT 45 | ||
192 | #define CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID 46 | ||
190 | 193 | ||
191 | enum cx88_itype { | 194 | enum cx88_itype { |
192 | CX88_VMUX_COMPOSITE1 = 1, | 195 | CX88_VMUX_COMPOSITE1 = 1, |
@@ -308,8 +311,7 @@ struct cx88_core { | |||
308 | /* IR remote control state */ | 311 | /* IR remote control state */ |
309 | struct cx88_IR *ir; | 312 | struct cx88_IR *ir; |
310 | 313 | ||
311 | struct semaphore lock; | 314 | struct mutex lock; |
312 | |||
313 | /* various v4l controls */ | 315 | /* various v4l controls */ |
314 | u32 freq; | 316 | u32 freq; |
315 | 317 | ||