diff options
Diffstat (limited to 'drivers/input/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c index be83516c776c..bbbe5e81adc1 100644 --- a/drivers/input/mousedev.c +++ b/drivers/input/mousedev.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/poll.h> | 17 | #include <linux/poll.h> |
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/moduleparam.h> | ||
20 | #include <linux/init.h> | 19 | #include <linux/init.h> |
21 | #include <linux/input.h> | 20 | #include <linux/input.h> |
22 | #include <linux/random.h> | 21 | #include <linux/random.h> |
@@ -1033,7 +1032,7 @@ static const struct input_device_id mousedev_ids[] = { | |||
1033 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT | | 1032 | .flags = INPUT_DEVICE_ID_MATCH_EVBIT | |
1034 | INPUT_DEVICE_ID_MATCH_KEYBIT | | 1033 | INPUT_DEVICE_ID_MATCH_KEYBIT | |
1035 | INPUT_DEVICE_ID_MATCH_ABSBIT, | 1034 | INPUT_DEVICE_ID_MATCH_ABSBIT, |
1036 | .evbit = { BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_SYN) }, | 1035 | .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) }, |
1037 | .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) }, | 1036 | .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) }, |
1038 | .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, | 1037 | .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, |
1039 | }, /* Mouse-like device with absolute X and Y but ordinary | 1038 | }, /* Mouse-like device with absolute X and Y but ordinary |