]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/joystick/spaceorb.c
support for USB autosuspend in the asix driver
[linux-2.6-omap-h63xx.git] / drivers / input / joystick / spaceorb.c
index c9c79211af711c3b9a5631331612749b352b350f..c4937f1e837c192dd41ab252d933ac81308e8e4b 100644 (file)
@@ -183,8 +183,7 @@ static int spaceorb_connect(struct serio *serio, struct serio_driver *drv)
        input_dev->id.vendor = SERIO_SPACEORB;
        input_dev->id.product = 0x0001;
        input_dev->id.version = 0x0100;
-       input_dev->cdev.dev = &serio->dev;
-       input_dev->private = spaceorb;
+       input_dev->dev.parent = &serio->dev;
 
        input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);