diff options
author | Andy Walls <awalls@radix.net> | 2009-11-21 11:39:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:41:57 -0500 |
commit | 8352619043a04785b8d20e438629b14e556fffce (patch) | |
tree | cffbda41f6f806096d7e6ff73468e0548a2bab97 /drivers/media/video/cx18/cx18-cards.h | |
parent | ad2fe2d48812029b0b674594f297d0723f7c6e8f (diff) |
V4L/DVB (13445): cx18: Use per cx18 instance init data for ir-kbd-i2c instead of const data
This change creates per cx18 instances of IR_i2c_init_data for handing over
initialization data to ir-kbd-i2c, since that module wants non-const data
even though it never modifies the data.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-cards.h b/drivers/media/video/cx18/cx18-cards.h index 444e3c7c563e..af3d71607dc9 100644 --- a/drivers/media/video/cx18/cx18-cards.h +++ b/drivers/media/video/cx18/cx18-cards.h | |||
@@ -34,6 +34,9 @@ | |||
34 | #define CX18_HW_Z8F0811_IR_HAUP (CX18_HW_Z8F0811_IR_RX_HAUP | \ | 34 | #define CX18_HW_Z8F0811_IR_HAUP (CX18_HW_Z8F0811_IR_RX_HAUP | \ |
35 | CX18_HW_Z8F0811_IR_TX_HAUP) | 35 | CX18_HW_Z8F0811_IR_TX_HAUP) |
36 | 36 | ||
37 | #define CX18_HW_IR_ANY (CX18_HW_Z8F0811_IR_RX_HAUP | \ | ||
38 | CX18_HW_Z8F0811_IR_TX_HAUP) | ||
39 | |||
37 | /* video inputs */ | 40 | /* video inputs */ |
38 | #define CX18_CARD_INPUT_VID_TUNER 1 | 41 | #define CX18_CARD_INPUT_VID_TUNER 1 |
39 | #define CX18_CARD_INPUT_SVIDEO1 2 | 42 | #define CX18_CARD_INPUT_SVIDEO1 2 |