Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86c03f46 authored by Peter Hutterer's avatar Peter Hutterer Committed by Dmitry Torokhov
Browse files

Input: wacom_w8001 - use __set_bit for evbits

parent d352c0e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -393,7 +393,8 @@ static int w8001_setup(struct w8001 *w8001)

	msleep(250);	/* wait 250ms before querying the device */

	dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
	__set_bit(EV_KEY, dev->evbit);
	__set_bit(EV_ABS, dev->evbit);
	strlcat(w8001->name, "Wacom Serial", sizeof(w8001->name));

	__set_bit(INPUT_PROP_DIRECT, dev->propbit);