diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-07-24 13:05:19 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-25 18:53:56 -0700 |
commit | 80befa93817b661193ba6423dfa9b69ffacd7e53 (patch) | |
tree | 9d417a01e87e0e3c6fcb680fd7a9c8e30f6a5644 /drivers/input/tablet/wacom_wac.h | |
parent | 198fdee2829547ec4ff29bb56ea668790d23bc4b (diff) | |
download | op-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.h | 2 |
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; }; |