diff options
Diffstat (limited to 'drivers/input/joystick/adi.c')
-rw-r--r-- | drivers/input/joystick/adi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/adi.c b/drivers/input/joystick/adi.c index e8353526736f..28140c4a110d 100644 --- a/drivers/input/joystick/adi.c +++ b/drivers/input/joystick/adi.c | |||
@@ -424,7 +424,7 @@ static int adi_init_input(struct adi *adi, struct adi_port *port, int half) | |||
424 | input_dev->id.vendor = GAMEPORT_ID_VENDOR_LOGITECH; | 424 | input_dev->id.vendor = GAMEPORT_ID_VENDOR_LOGITECH; |
425 | input_dev->id.product = adi->id; | 425 | input_dev->id.product = adi->id; |
426 | input_dev->id.version = 0x0100; | 426 | input_dev->id.version = 0x0100; |
427 | input_dev->cdev.dev = &port->gameport->dev; | 427 | input_dev->dev.parent = &port->gameport->dev; |
428 | 428 | ||
429 | input_set_drvdata(input_dev, port); | 429 | input_set_drvdata(input_dev, port); |
430 | 430 | ||