diff options
Diffstat (limited to 'drivers/input/joystick/stinger.c')
-rw-r--r-- | drivers/input/joystick/stinger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/stinger.c b/drivers/input/joystick/stinger.c index b6a6f21cc921..8581ee991d4e 100644 --- a/drivers/input/joystick/stinger.c +++ b/drivers/input/joystick/stinger.c | |||
@@ -154,7 +154,7 @@ static int stinger_connect(struct serio *serio, struct serio_driver *drv) | |||
154 | input_dev->id.vendor = SERIO_STINGER; | 154 | input_dev->id.vendor = SERIO_STINGER; |
155 | input_dev->id.product = 0x0001; | 155 | input_dev->id.product = 0x0001; |
156 | input_dev->id.version = 0x0100; | 156 | input_dev->id.version = 0x0100; |
157 | input_dev->cdev.dev = &serio->dev; | 157 | input_dev->dev.parent = &serio->dev; |
158 | 158 | ||
159 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 159 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); |
160 | input_dev->keybit[LONG(BTN_A)] = BIT(BTN_A) | BIT(BTN_B) | BIT(BTN_C) | BIT(BTN_X) | | 160 | input_dev->keybit[LONG(BTN_A)] = BIT(BTN_A) | BIT(BTN_B) | BIT(BTN_C) | BIT(BTN_X) | |