diff -ruaN 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-26 08:42:47.000000000 +0000 +++ lirc_mod_mce/lirc_mod_mce.c 2009-02-27 08:50:31.000000000 +0000 @@ -1298,7 +1298,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);