]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/keyboard/newtonkbd.c
genhd: send async notification on media change
[linux-2.6-omap-h63xx.git] / drivers / input / keyboard / newtonkbd.c
index aa29b50765c942af946d0ef79730a8ff0872cb81..b97a41e3ee56cef949835fdc9135f597aefa7850 100644 (file)
@@ -104,8 +104,7 @@ static int nkbd_connect(struct serio *serio, struct serio_driver *drv)
        input_dev->id.vendor = SERIO_NEWTON;
        input_dev->id.product = 0x0001;
        input_dev->id.version = 0x0100;
-       input_dev->cdev.dev = &serio->dev;
-       input_dev->private = nkbd;
+       input_dev->dev.parent = &serio->dev;
 
        input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP);
        input_dev->keycode = nkbd->keycode;