diff options
author | JJ Ding <jj_ding@emc.com.tw> | 2011-11-21 06:21:45 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-11-21 06:28:30 (GMT) |
commit | b56b92a9a175faad4c182309a63f221219de9191 (patch) | |
tree | ebe64fc6ef97a084ebcab7cb9ce098fd6d3a93dd /drivers/input/mouse/elantech.h | |
parent | 8672bd93d3d67b18a2b067ece30dabcda11f8cde (diff) | |
download | linux-b56b92a9a175faad4c182309a63f221219de9191.tar.xz |
Input: elantech - add support for elantech fast command
Starting with v3 hardware, the firmware supports this shorter
elantech_send_cmd. Teach the driver to use it.
Signed-off-by: JJ Ding <jj_ding@emc.com.tw>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/elantech.h')
-rw-r--r-- | drivers/input/mouse/elantech.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.h b/drivers/input/mouse/elantech.h index 9e5f1aa..08d00bd 100644 --- a/drivers/input/mouse/elantech.h +++ b/drivers/input/mouse/elantech.h @@ -135,6 +135,7 @@ struct elantech_data { unsigned int width; struct finger_pos mt[ETP_MAX_FINGERS]; unsigned char parity[256]; + int (*send_cmd)(struct psmouse *psmouse, unsigned char c, unsigned char *param); }; #ifdef CONFIG_MOUSE_PS2_ELANTECH |