diff options
author | JJ Ding <jj_ding@emc.com.tw> | 2011-11-21 07:21:45 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-11-21 07:28:30 +0100 |
commit | b56b92a9a175faad4c182309a63f221219de9191 (patch) | |
tree | ebe64fc6ef97a084ebcab7cb9ce098fd6d3a93dd /drivers/input/mouse/elantech.h | |
parent | Input: ad7879 - consolidate PM methods (diff) | |
download | linux-b56b92a9a175faad4c182309a63f221219de9191.tar.xz linux-b56b92a9a175faad4c182309a63f221219de9191.zip |
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 9e5f1aabea7e..08d00bd9d1f8 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 |