diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-06-16 03:01:44 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-06-18 10:42:39 +0200 |
commit | 2636a3f2d1421e3e629dfc96489c23727bab17d7 (patch) | |
tree | 6ba45e6baebd01a3c091f8099213dfbb392f76d0 /drivers/hid/wacom.h | |
parent | HID: wacom: Introduce a new WACOM_DEVICETYPE_PAD device_type (diff) | |
download | linux-2636a3f2d1421e3e629dfc96489c23727bab17d7.tar.xz linux-2636a3f2d1421e3e629dfc96489c23727bab17d7.zip |
HID: wacom: Split apart 'wacom_setup_pentouch_input_capabilites'
This splits the 'wacom_setup_pentouch_input_capabilites' function into
pieces dedicated to doing setup for just the pen interface and just
the touch interface. This makes it easier to focus on the relevant
piece when making changes.
This patch introduces no functional changes.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom.h')
-rw-r--r-- | drivers/hid/wacom.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hid/wacom.h b/drivers/hid/wacom.h index c76e21f486d8..a533787a6d85 100644 --- a/drivers/hid/wacom.h +++ b/drivers/hid/wacom.h @@ -135,7 +135,9 @@ extern const struct hid_device_id wacom_ids[]; void wacom_wac_irq(struct wacom_wac *wacom_wac, size_t len); void wacom_setup_device_quirks(struct wacom *wacom); -int wacom_setup_pentouch_input_capabilities(struct input_dev *input_dev, +int wacom_setup_pen_input_capabilities(struct input_dev *input_dev, + struct wacom_wac *wacom_wac); +int wacom_setup_touch_input_capabilities(struct input_dev *input_dev, struct wacom_wac *wacom_wac); int wacom_setup_pad_input_capabilities(struct input_dev *input_dev, struct wacom_wac *wacom_wac); |