]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/input/appletouch.c
Input: USB devices - switch to using input_dev->dev.parent
[linux-2.6-omap-h63xx.git] / drivers / usb / input / appletouch.c
index ef6166ab8fe757503ddf799c7ca23afca077670b..e3215267db112dcc89818ff41b0f5ca601c30151 100644 (file)
@@ -584,7 +584,7 @@ static int atp_probe(struct usb_interface *iface, const struct usb_device_id *id
        input_dev->name = "appletouch";
        input_dev->phys = dev->phys;
        usb_to_input_id(dev->udev, &input_dev->id);
-       input_dev->cdev.dev = &iface->dev;
+       input_dev->dev.parent = &iface->dev;
 
        input_set_drvdata(input_dev, dev);