diff options
Diffstat (limited to 'drivers/input/joystick/cobra.c')
-rw-r--r-- | drivers/input/joystick/cobra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/cobra.c b/drivers/input/joystick/cobra.c index d3352a849b85..55646a6d89f5 100644 --- a/drivers/input/joystick/cobra.c +++ b/drivers/input/joystick/cobra.c | |||
@@ -218,7 +218,7 @@ static int cobra_connect(struct gameport *gameport, struct gameport_driver *drv) | |||
218 | input_dev->open = cobra_open; | 218 | input_dev->open = cobra_open; |
219 | input_dev->close = cobra_close; | 219 | input_dev->close = cobra_close; |
220 | 220 | ||
221 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 221 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
222 | input_set_abs_params(input_dev, ABS_X, -1, 1, 0, 0); | 222 | input_set_abs_params(input_dev, ABS_X, -1, 1, 0, 0); |
223 | input_set_abs_params(input_dev, ABS_Y, -1, 1, 0, 0); | 223 | input_set_abs_params(input_dev, ABS_Y, -1, 1, 0, 0); |
224 | for (j = 0; cobra_btn[j]; j++) | 224 | for (j = 0; cobra_btn[j]; j++) |