diff options
Diffstat (limited to 'drivers/input/joystick/tmdc.c')
-rw-r--r-- | drivers/input/joystick/tmdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/tmdc.c b/drivers/input/joystick/tmdc.c index 3b36ee04f726..0feeb8acb532 100644 --- a/drivers/input/joystick/tmdc.c +++ b/drivers/input/joystick/tmdc.c | |||
@@ -333,7 +333,7 @@ static int tmdc_setup_port(struct tmdc *tmdc, int idx, unsigned char *data) | |||
333 | input_dev->open = tmdc_open; | 333 | input_dev->open = tmdc_open; |
334 | input_dev->close = tmdc_close; | 334 | input_dev->close = tmdc_close; |
335 | 335 | ||
336 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 336 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
337 | 337 | ||
338 | for (i = 0; i < port->absc && i < TMDC_ABS; i++) | 338 | for (i = 0; i < port->absc && i < TMDC_ABS; i++) |
339 | if (port->abs[i] >= 0) | 339 | if (port->abs[i] >= 0) |