diff options
Diffstat (limited to 'drivers/usb/input/kbtab.c')
-rw-r--r-- | drivers/usb/input/kbtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/kbtab.c b/drivers/usb/input/kbtab.c index 7ec999adb882..c4781b9d1297 100644 --- a/drivers/usb/input/kbtab.c +++ b/drivers/usb/input/kbtab.c | |||
@@ -146,7 +146,7 @@ static int kbtab_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
146 | input_dev->name = "KB Gear Tablet"; | 146 | input_dev->name = "KB Gear Tablet"; |
147 | input_dev->phys = kbtab->phys; | 147 | input_dev->phys = kbtab->phys; |
148 | usb_to_input_id(dev, &input_dev->id); | 148 | usb_to_input_id(dev, &input_dev->id); |
149 | input_dev->cdev.dev = &intf->dev; | 149 | input_dev->dev.parent = &intf->dev; |
150 | 150 | ||
151 | input_set_drvdata(input_dev, kbtab); | 151 | input_set_drvdata(input_dev, kbtab); |
152 | 152 | ||