diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-07-24 21:52:00 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-26 03:53:49 +0200 |
commit | f54bc61cf7236db84939ca8827ac89737d79ef24 (patch) | |
tree | 778ddf249c7ec981c1e325fb4457009a77ee6f5d /drivers/uwb/drp-avail.c | |
parent | Input: wacom - split out the pad device for the wireless receiver (diff) | |
download | linux-f54bc61cf7236db84939ca8827ac89737d79ef24.tar.xz linux-f54bc61cf7236db84939ca8827ac89737d79ef24.zip |
Input: wacom - include and use linux/hid.h
The current wacom code redefines constants that are already in linux/hid.h
This patch includes the official implementation and use it accross the code.
There is a conflict with HID_USAGE and others at the same level:
- in the wacom.ko implementation, those are the #define regarding the
value of the field in the report descriptor
- in the hid.h, those are bitmask
So add HDESC_ in their current definition.
Also, the struct hid_descriptor slightly differs from the linux/hid.h
point of view, so mark it as custom for this driver.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/uwb/drp-avail.c')
0 files changed, 0 insertions, 0 deletions