diff options
Diffstat (limited to 'drivers/input/touchscreen/fujitsu_ts.c')
-rw-r--r-- | drivers/input/touchscreen/fujitsu_ts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/fujitsu_ts.c b/drivers/input/touchscreen/fujitsu_ts.c index daf7a4afc935..80b21800355f 100644 --- a/drivers/input/touchscreen/fujitsu_ts.c +++ b/drivers/input/touchscreen/fujitsu_ts.c | |||
@@ -122,8 +122,8 @@ static int fujitsu_connect(struct serio *serio, struct serio_driver *drv) | |||
122 | input_dev->id.vendor = SERIO_FUJITSU; | 122 | input_dev->id.vendor = SERIO_FUJITSU; |
123 | input_dev->id.product = 0; | 123 | input_dev->id.product = 0; |
124 | input_dev->id.version = 0x0100; | 124 | input_dev->id.version = 0x0100; |
125 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); | 125 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
126 | input_dev->keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH); | 126 | input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); |
127 | 127 | ||
128 | input_set_abs_params(input_dev, ABS_X, 0, 4096, 0, 0); | 128 | input_set_abs_params(input_dev, ABS_X, 0, 4096, 0, 0); |
129 | input_set_abs_params(input_dev, ABS_Y, 0, 4096, 0, 0); | 129 | input_set_abs_params(input_dev, ABS_Y, 0, 4096, 0, 0); |