Commit d182c10c842007984e12b3b816df2b10d997cc8e
1 parent
e2c75391dd
Exists in
master
and in
20 other branches
Input: mousedev - use BIT_MASK instead of BIT
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/input/mousedev.c
... | ... | @@ -1032,7 +1032,7 @@ |
1032 | 1032 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT | |
1033 | 1033 | INPUT_DEVICE_ID_MATCH_KEYBIT | |
1034 | 1034 | INPUT_DEVICE_ID_MATCH_ABSBIT, |
1035 | - .evbit = { BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_SYN) }, | |
1035 | + .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) }, | |
1036 | 1036 | .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) }, |
1037 | 1037 | .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, |
1038 | 1038 | }, /* Mouse-like device with absolute X and Y but ordinary |