diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-07-24 12:52:00 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-25 18:53:49 -0700 |
commit | f54bc61cf7236db84939ca8827ac89737d79ef24 (patch) | |
tree | 778ddf249c7ec981c1e325fb4457009a77ee6f5d /drivers/hid | |
parent | 008f4d9e3cd666c1c4f97b53c102a868a6041f64 (diff) | |
download | op-kernel-dev-f54bc61cf7236db84939ca8827ac89737d79ef24.zip op-kernel-dev-f54bc61cf7236db84939ca8827ac89737d79ef24.tar.gz |
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/hid')
0 files changed, 0 insertions, 0 deletions