diff options
Diffstat (limited to 'drivers/input/joystick/magellan.c')
-rw-r--r-- | drivers/input/joystick/magellan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/magellan.c b/drivers/input/joystick/magellan.c index b35604ee43ae..54e676948ebb 100644 --- a/drivers/input/joystick/magellan.c +++ b/drivers/input/joystick/magellan.c | |||
@@ -170,7 +170,7 @@ static int magellan_connect(struct serio *serio, struct serio_driver *drv) | |||
170 | input_dev->id.version = 0x0100; | 170 | input_dev->id.version = 0x0100; |
171 | input_dev->dev.parent = &serio->dev; | 171 | input_dev->dev.parent = &serio->dev; |
172 | 172 | ||
173 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 173 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
174 | 174 | ||
175 | for (i = 0; i < 9; i++) | 175 | for (i = 0; i < 9; i++) |
176 | set_bit(magellan_buttons[i], input_dev->keybit); | 176 | set_bit(magellan_buttons[i], input_dev->keybit); |