diff options
Diffstat (limited to 'drivers/input/joystick/guillemot.c')
-rw-r--r-- | drivers/input/joystick/guillemot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/guillemot.c b/drivers/input/joystick/guillemot.c index 3e022dc83941..d4e8073caf27 100644 --- a/drivers/input/joystick/guillemot.c +++ b/drivers/input/joystick/guillemot.c | |||
@@ -231,7 +231,7 @@ static int guillemot_connect(struct gameport *gameport, struct gameport_driver * | |||
231 | input_dev->id.vendor = GAMEPORT_ID_VENDOR_GUILLEMOT; | 231 | input_dev->id.vendor = GAMEPORT_ID_VENDOR_GUILLEMOT; |
232 | input_dev->id.product = guillemot_type[i].id; | 232 | input_dev->id.product = guillemot_type[i].id; |
233 | input_dev->id.version = (int)data[14] << 8 | data[15]; | 233 | input_dev->id.version = (int)data[14] << 8 | data[15]; |
234 | input_dev->cdev.dev = &gameport->dev; | 234 | input_dev->dev.parent = &gameport->dev; |
235 | 235 | ||
236 | input_set_drvdata(input_dev, guillemot); | 236 | input_set_drvdata(input_dev, guillemot); |
237 | 237 | ||