summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lirc/lirc_mod_mce.patch
blob: c79496122eb684857b18765183706ef1d112b794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naru lirc_mod_mce.orig/lirc_mod_mce.c lirc_mod_mce/lirc_mod_mce.c
--- lirc_mod_mce.orig/lirc_mod_mce.c	2008-04-18 02:12:28.000000000 +0930
+++ lirc_mod_mce/lirc_mod_mce.c	2009-05-11 22:10:39.000000000 +0930
@@ -1108,7 +1108,7 @@
     input_dev->name = ir->name;
     input_dev->phys = ir->phys;
     usb_to_input_id(dev, &input_dev->id);
-    input_dev->cdev.dev = &dev->dev;
+    input_dev->dev.parent = &dev->dev;
     input_dev->evbit[BIT_WORD(EV_KEY)] |= BIT_MASK(EV_KEY);
     input_dev->evbit[BIT_WORD(EV_REL)] |= BIT_MASK(EV_REL);
     input_dev->relbit[BIT_WORD(REL_X)] |= BIT_MASK(REL_X);