diff options
Diffstat (limited to 'drivers/input/joystick/gamecon.c')
-rw-r--r-- | drivers/input/joystick/gamecon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/joystick/gamecon.c b/drivers/input/joystick/gamecon.c index 1a452e0e5f25..df2a9d02ca6c 100644 --- a/drivers/input/joystick/gamecon.c +++ b/drivers/input/joystick/gamecon.c | |||
@@ -653,12 +653,12 @@ static int __init gc_setup_pad(struct gc *gc, int idx, int pad_type) | |||
653 | input_dev->close = gc_close; | 653 | input_dev->close = gc_close; |
654 | 654 | ||
655 | if (pad_type != GC_SNESMOUSE) { | 655 | if (pad_type != GC_SNESMOUSE) { |
656 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 656 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
657 | 657 | ||
658 | for (i = 0; i < 2; i++) | 658 | for (i = 0; i < 2; i++) |
659 | input_set_abs_params(input_dev, ABS_X + i, -1, 1, 0, 0); | 659 | input_set_abs_params(input_dev, ABS_X + i, -1, 1, 0, 0); |
660 | } else | 660 | } else |
661 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL); | 661 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); |
662 | 662 | ||
663 | gc->pads[0] |= gc_status_bit[idx]; | 663 | gc->pads[0] |= gc_status_bit[idx]; |
664 | gc->pads[pad_type] |= gc_status_bit[idx]; | 664 | gc->pads[pad_type] |= gc_status_bit[idx]; |