]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/joystick/magellan.c
missing dependencies for USB drivers in input
[linux-2.6-omap-h63xx.git] / drivers / input / joystick / magellan.c
index 4112789f11966a2433e4c570da06962915161e1d..b35604ee43aecd4318a4fb126a4c0d40a9db7279 100644 (file)
@@ -168,8 +168,7 @@ static int magellan_connect(struct serio *serio, struct serio_driver *drv)
        input_dev->id.vendor = SERIO_MAGELLAN;
        input_dev->id.product = 0x0001;
        input_dev->id.version = 0x0100;
-       input_dev->cdev.dev = &serio->dev;
-       input_dev->private = magellan;
+       input_dev->dev.parent = &serio->dev;
 
        input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);