diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-02 02:27:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 17:56:45 +0200 |
commit | d705d2ab7596b4661a2f13172f4f93ad11bd761f (patch) | |
tree | b5c143a8a03bb056f1ce4f1a7431ca03dbdb97be /drivers/media/video/cx18/cx18-i2c.c | |
parent | V4L/DVB: ir-common: re-order keytables by name and remove duplicates (diff) | |
download | linux-d705d2ab7596b4661a2f13172f4f93ad11bd761f.tar.xz linux-d705d2ab7596b4661a2f13172f4f93ad11bd761f.zip |
V4L/DVB: ir: use IR_KEYTABLE where an IR table is needed
Replaces most of the occurences of IR keytables on V4L drivers by a macro
that evaluates to provide the name of the exported symbol.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-i2c.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-i2c.c b/drivers/media/video/cx18/cx18-i2c.c index eecf29af916c..476c016e63a8 100644 --- a/drivers/media/video/cx18/cx18-i2c.c +++ b/drivers/media/video/cx18/cx18-i2c.c @@ -109,7 +109,7 @@ static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, /* Our default information for ir-kbd-i2c.c to use */ switch (hw) { case CX18_HW_Z8F0811_IR_RX_HAUP: - init_data->ir_codes = &ir_codes_hauppauge_new_table; + init_data->ir_codes = &IR_KEYTABLE(hauppauge_new); init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR; init_data->type = IR_TYPE_RC5; init_data->name = cx->card_name; |