diff options
Diffstat (limited to 'drivers/input/keyboard/stowaway.c')
-rw-r--r-- | drivers/input/keyboard/stowaway.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/stowaway.c b/drivers/input/keyboard/stowaway.c index b44b0684d543..7437219370b1 100644 --- a/drivers/input/keyboard/stowaway.c +++ b/drivers/input/keyboard/stowaway.c | |||
@@ -110,7 +110,7 @@ static int skbd_connect(struct serio *serio, struct serio_driver *drv) | |||
110 | input_dev->id.version = 0x0100; | 110 | input_dev->id.version = 0x0100; |
111 | input_dev->dev.parent = &serio->dev; | 111 | input_dev->dev.parent = &serio->dev; |
112 | 112 | ||
113 | input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP); | 113 | input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP); |
114 | input_dev->keycode = skbd->keycode; | 114 | input_dev->keycode = skbd->keycode; |
115 | input_dev->keycodesize = sizeof(unsigned char); | 115 | input_dev->keycodesize = sizeof(unsigned char); |
116 | input_dev->keycodemax = ARRAY_SIZE(skbd_keycode); | 116 | input_dev->keycodemax = ARRAY_SIZE(skbd_keycode); |