summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/elantech.h
diff options
context:
space:
mode:
authorJJ Ding <jj_ding@emc.com.tw>2011-11-21 06:21:45 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-11-21 06:28:30 (GMT)
commitb56b92a9a175faad4c182309a63f221219de9191 (patch)
treeebe64fc6ef97a084ebcab7cb9ce098fd6d3a93dd /drivers/input/mouse/elantech.h
parent8672bd93d3d67b18a2b067ece30dabcda11f8cde (diff)
downloadlinux-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.h1
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