summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2014-07-24 13:05:19 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-25 18:53:56 -0700
commit80befa93817b661193ba6423dfa9b69ffacd7e53 (patch)
tree9d417a01e87e0e3c6fcb680fd7a9c8e30f6a5644 /drivers/input/tablet/wacom_wac.h
parent198fdee2829547ec4ff29bb56ea668790d23bc4b (diff)
downloadop-kernel-dev-80befa93817b661193ba6423dfa9b69ffacd7e53.zip
op-kernel-dev-80befa93817b661193ba6423dfa9b69ffacd7e53.tar.gz
Input: wacom - remove field pktlen declaration in the list of devices
pktlen is now overwritten by the driver directly by reading the hid report descriptor. There is no need to declare it statically. We also move down the position of the field in the struct so that we can keep the current declaration of Wacom devices. 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/input/tablet/wacom_wac.h')
-rw-r--r--drivers/input/tablet/wacom_wac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index 2a7612a..4c59247 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -114,7 +114,6 @@ enum {
struct wacom_features {
const char *name;
- int pktlen;
int x_max;
int y_max;
int pressure_max;
@@ -137,6 +136,7 @@ struct wacom_features {
unsigned touch_max;
int oVid;
int oPid;
+ int pktlen;
bool check_for_hid_type;
int hid_type;
};
OpenPOWER on IntegriCloud