summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dm1105
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-02 02:27:04 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 17:56:45 +0200
commitd705d2ab7596b4661a2f13172f4f93ad11bd761f (patch)
treeb5c143a8a03bb056f1ce4f1a7431ca03dbdb97be /drivers/media/dvb/dm1105
parentV4L/DVB: ir-common: re-order keytables by name and remove duplicates (diff)
downloadlinux-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/dvb/dm1105')
-rw-r--r--drivers/media/dvb/dm1105/dm1105.c2
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)
int __devinit dm1105_ir_init(struct dm1105_dev *dm1105)
{
struct input_dev *input_dev;
- struct ir_scancode_table *ir_codes = &ir_codes_dm1105_nec_table;
+ struct ir_scancode_table *ir_codes = &IR_KEYTABLE(dm1105_nec);
u64 ir_type = IR_TYPE_OTHER;
int err = -ENOMEM;