diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 29ca0bb4f561..d2e06cc7e179 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -498,7 +498,8 @@ void input_set_abs_params(struct input_dev *dev, unsigned int axis, | |||
498 | absinfo->fuzz = fuzz; | 498 | absinfo->fuzz = fuzz; |
499 | absinfo->flat = flat; | 499 | absinfo->flat = flat; |
500 | 500 | ||
501 | dev->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); | 501 | __set_bit(EV_ABS, dev->evbit); |
502 | __set_bit(axis, dev->absbit); | ||
502 | } | 503 | } |
503 | EXPORT_SYMBOL(input_set_abs_params); | 504 | EXPORT_SYMBOL(input_set_abs_params); |
504 | 505 | ||