summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorHeungjun Kim <riverful.kim@samsung.com>2011-02-23 21:40:11 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-02-23 21:43:31 -0800
commitadf779c1ee1d5556ebd83e39a7189022d4ebce3a (patch)
treeadd454348d5a2eca573fa6751fb20d576a5bce8e /include/linux/i2c
parent5ad567ffbaf208bd35bff4341906346c1a1d4574 (diff)
downloadop-kernel-dev-adf779c1ee1d5556ebd83e39a7189022d4ebce3a.zip
op-kernel-dev-adf779c1ee1d5556ebd83e39a7189022d4ebce3a.tar.gz
Input: mcs_touchkey - add support for suspend/resume
This adds support for system-level suspend/resume to the driver. Signed-off-by: Heungjun Kim <riverful.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r--include/linux/i2c/mcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/mcs.h b/include/linux/i2c/mcs.h
index 725ae7c..61bb18a 100644
--- a/include/linux/i2c/mcs.h
+++ b/include/linux/i2c/mcs.h
@@ -18,6 +18,7 @@
#define MCS_KEY_CODE(v) ((v) & 0xffff)
struct mcs_platform_data {
+ void (*poweron)(bool);
void (*cfg_pin)(void);
/* touchscreen */
OpenPOWER on IntegriCloud