From: Benjamin Tissoires Date: Thu, 24 Jul 2014 19:52:00 +0000 (-0700) Subject: Input: wacom - include and use linux/hid.h X-Git-Tag: omap-for-v3.17/fixes-against-rc2~115^2~1^2^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54bc61cf7236db84939ca8827ac89737d79ef24;p=pandora-kernel.git 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 Reviewed-by: Jason Gerecke Tested-by: Jason Gerecke Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed