aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/gtco.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/input/gtco.c')
-rw-r--r--drivers/usb/input/gtco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/gtco.c b/drivers/usb/input/gtco.c
index 75cce2a97d20..dbd207efb8f5 100644
--- a/drivers/usb/input/gtco.c
+++ b/drivers/usb/input/gtco.c
@@ -952,7 +952,7 @@ static int gtco_probe(struct usb_interface *usbinterface,
952 952
953 /* Set input device required ID information */ 953 /* Set input device required ID information */
954 usb_to_input_id(gtco->usbdev, &input_dev->id); 954 usb_to_input_id(gtco->usbdev, &input_dev->id);
955 input_dev->cdev.dev = &usbinterface->dev; 955 input_dev->dev.parent = &usbinterface->dev;
956 956
957 /* Setup the URB, it will be posted later on open of input device */ 957 /* Setup the URB, it will be posted later on open of input device */
958 endpoint = &usbinterface->altsetting[0].endpoint[0].desc; 958 endpoint = &usbinterface->altsetting[0].endpoint[0].desc;