diff options
Diffstat (limited to 'drivers/input/joystick/grip_mp.c')
-rw-r--r-- | drivers/input/joystick/grip_mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c index 4ed3a3eadf19..c57e21d68c00 100644 --- a/drivers/input/joystick/grip_mp.c +++ b/drivers/input/joystick/grip_mp.c | |||
@@ -606,7 +606,7 @@ static int register_slot(int slot, struct grip_mp *grip) | |||
606 | input_dev->open = grip_open; | 606 | input_dev->open = grip_open; |
607 | input_dev->close = grip_close; | 607 | input_dev->close = grip_close; |
608 | 608 | ||
609 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 609 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
610 | 610 | ||
611 | for (j = 0; (t = grip_abs[port->mode][j]) >= 0; j++) | 611 | for (j = 0; (t = grip_abs[port->mode][j]) >= 0; j++) |
612 | input_set_abs_params(input_dev, t, -1, 1, 0, 0); | 612 | input_set_abs_params(input_dev, t, -1, 1, 0, 0); |