Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: wacom_serial4 - prepare for wacom USB moving to HID

wacom_wac.h will be moving to drivers/hid. Since we only need 3 definitions
from it let's simply copy them over.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

+5 -1
+5 -1
drivers/input/tablet/wacom_serial4.c
··· 113 113 #include <linux/serio.h> 114 114 #include <linux/slab.h> 115 115 #include <linux/string.h> 116 - #include "wacom_wac.h" 117 116 118 117 MODULE_AUTHOR("Julian Squires <julian@cipht.net>, Hans de Goede <hdegoede@redhat.com>"); 119 118 MODULE_DESCRIPTION("Wacom protocol 4 serial tablet driver"); ··· 147 148 #define F_COVERS_SCREEN 0x01 148 149 #define F_HAS_STYLUS2 0x02 149 150 #define F_HAS_SCROLLWHEEL 0x04 151 + 152 + /* device IDs */ 153 + #define STYLUS_DEVICE_ID 0x02 154 + #define CURSOR_DEVICE_ID 0x06 155 + #define ERASER_DEVICE_ID 0x0A 150 156 151 157 enum { STYLUS = 1, ERASER, CURSOR }; 152 158