diff options
Diffstat (limited to 'drivers/input/joystick/analog.c')
-rw-r--r-- | drivers/input/joystick/analog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c index bdd157c1ebf8..15739880afc6 100644 --- a/drivers/input/joystick/analog.c +++ b/drivers/input/joystick/analog.c | |||
@@ -456,7 +456,7 @@ static int analog_init_device(struct analog_port *port, struct analog *analog, i | |||
456 | input_dev->open = analog_open; | 456 | input_dev->open = analog_open; |
457 | input_dev->close = analog_close; | 457 | input_dev->close = analog_close; |
458 | 458 | ||
459 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 459 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
460 | 460 | ||
461 | for (i = j = 0; i < 4; i++) | 461 | for (i = j = 0; i < 4; i++) |
462 | if (analog->mask & (1 << i)) { | 462 | if (analog->mask & (1 << i)) { |