diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/wacom_w8001.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c index 2a0bec12d12..49bce13838b 100644 --- a/drivers/input/touchscreen/wacom_w8001.c +++ b/drivers/input/touchscreen/wacom_w8001.c | |||
@@ -374,11 +374,11 @@ static int w8001_connect(struct serio *serio, struct serio_driver *drv) | |||
374 | input_dev->dev.parent = &serio->dev; | 374 | input_dev->dev.parent = &serio->dev; |
375 | 375 | ||
376 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); | 376 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
377 | input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); | 377 | __set_bit(BTN_TOUCH, input_dev->keybit); |
378 | input_dev->keybit[BIT_WORD(BTN_TOOL_PEN)] |= BIT_MASK(BTN_TOOL_PEN); | 378 | __set_bit(BTN_TOOL_PEN, input_dev->keybit); |
379 | input_dev->keybit[BIT_WORD(BTN_TOOL_RUBBER)] |= BIT_MASK(BTN_TOOL_RUBBER); | 379 | __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); |
380 | input_dev->keybit[BIT_WORD(BTN_STYLUS)] |= BIT_MASK(BTN_STYLUS); | 380 | __set_bit(BTN_STYLUS, input_dev->keybit); |
381 | input_dev->keybit[BIT_WORD(BTN_STYLUS2)] |= BIT_MASK(BTN_STYLUS2); | 381 | __set_bit(BTN_STYLUS2, input_dev->keybit); |
382 | 382 | ||
383 | serio_set_drvdata(serio, w8001); | 383 | serio_set_drvdata(serio, w8001); |
384 | err = serio_open(serio, drv); | 384 | err = serio_open(serio, drv); |