diff options
Diffstat (limited to 'drivers/input/joystick/xpad.c')
-rw-r--r-- | drivers/input/joystick/xpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 623629a69b03..6dd375825a14 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c | |||
@@ -658,7 +658,7 @@ static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id | |||
658 | input_dev->open = xpad_open; | 658 | input_dev->open = xpad_open; |
659 | input_dev->close = xpad_close; | 659 | input_dev->close = xpad_close; |
660 | 660 | ||
661 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 661 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
662 | 662 | ||
663 | /* set up buttons */ | 663 | /* set up buttons */ |
664 | for (i = 0; xpad_btn[i] >= 0; i++) | 664 | for (i = 0; xpad_btn[i] >= 0; i++) |