diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-04-01 20:27:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:56:45 -0400 |
commit | d705d2ab7596b4661a2f13172f4f93ad11bd761f (patch) | |
tree | b5c143a8a03bb056f1ce4f1a7431ca03dbdb97be /drivers/media/dvb/dm1105/dm1105.c | |
parent | 165344bd43b1410d10dc9dc8a376da31178d1694 (diff) |
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/dvb/dm1105/dm1105.c')
-rw-r--r-- | drivers/media/dvb/dm1105/dm1105.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dm1105/dm1105.c b/drivers/media/dvb/dm1105/dm1105.c index 3229ff325c56..ff62dc8633c0 100644 --- a/drivers/media/dvb/dm1105/dm1105.c +++ b/drivers/media/dvb/dm1105/dm1105.c | |||
@@ -596,7 +596,7 @@ static irqreturn_t dm1105_irq(int irq, void *dev_id) | |||
596 | int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) | 596 | int __devinit dm1105_ir_init(struct dm1105_dev *dm1105) |
597 | { | 597 | { |
598 | struct input_dev *input_dev; | 598 | struct input_dev *input_dev; |
599 | struct ir_scancode_table *ir_codes = &ir_codes_dm1105_nec_table; | 599 | struct ir_scancode_table *ir_codes = &IR_KEYTABLE(dm1105_nec); |
600 | u64 ir_type = IR_TYPE_OTHER; | 600 | u64 ir_type = IR_TYPE_OTHER; |
601 | int err = -ENOMEM; | 601 | int err = -ENOMEM; |
602 | 602 | ||