aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-cards.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-02-20 21:52:13 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:01 -0400
commitff2a20018094c593a35f4887bbdabf8926ddb6e6 (patch)
treee6c89f8e06e6006035420ea20a6754dd4ca7e89c /drivers/media/video/cx18/cx18-cards.h
parentfa3e70360c86480acbaa54c9791e843196327a66 (diff)
V4L/DVB (10758): cx18: Convert I2C devices to v4l2_subdevices
This is a major perturbation to cx18 I2C device handling to convert it to the v4l2_device/subdeivce framework. This change breaks GPIO audio multiplexer control for the time being. It will be fixed in a coming change. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-cards.h')
-rw-r--r--drivers/media/video/cx18/cx18-cards.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/video/cx18/cx18-cards.h b/drivers/media/video/cx18/cx18-cards.h
index f8ee29f102d4..bd7f9556f18c 100644
--- a/drivers/media/video/cx18/cx18-cards.h
+++ b/drivers/media/video/cx18/cx18-cards.h
@@ -22,12 +22,12 @@
22 */ 22 */
23 23
24/* hardware flags */ 24/* hardware flags */
25#define CX18_HW_TUNER (1 << 0) 25#define CX18_HW_TUNER (1 << 0)
26#define CX18_HW_TVEEPROM (1 << 1) 26#define CX18_HW_TVEEPROM (1 << 1)
27#define CX18_HW_CS5345 (1 << 2) 27#define CX18_HW_CS5345 (1 << 2)
28#define CX18_HW_GPIO (1 << 3) 28#define CX18_HW_DVB (1 << 3)
29#define CX18_HW_CX23418 (1 << 4) 29#define CX18_HW_418_AV (1 << 4)
30#define CX18_HW_DVB (1 << 5) 30#define CX18_HW_GPIO_AUDIO_MUX (1 << 5)
31 31
32/* video inputs */ 32/* video inputs */
33#define CX18_CARD_INPUT_VID_TUNER 1 33#define CX18_CARD_INPUT_VID_TUNER 1
@@ -121,7 +121,7 @@ struct cx18_card {
121 char *comment; 121 char *comment;
122 u32 v4l2_capabilities; 122 u32 v4l2_capabilities;
123 u32 hw_audio_ctrl; /* hardware used for the V4L2 controls (only 123 u32 hw_audio_ctrl; /* hardware used for the V4L2 controls (only
124 1 dev allowed) */ 124 1 dev allowed currently) */
125 u32 hw_muxer; /* hardware used to multiplex audio input */ 125 u32 hw_muxer; /* hardware used to multiplex audio input */
126 u32 hw_all; /* all hardware used by the board */ 126 u32 hw_all; /* all hardware used by the board */
127 struct cx18_card_video_input video_inputs[CX18_CARD_MAX_VIDEO_INPUTS]; 127 struct cx18_card_video_input video_inputs[CX18_CARD_MAX_VIDEO_INPUTS];