aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-12-02 13:59:26 +0800
committerJohn Stultz <john.stultz@linaro.org>2012-02-14 14:28:09 -0800
commit09b822f9298df6e2c71658512fe7ab9be770a351 (patch)
tree3162f45755f7049119be11e1caf8e737d6e65f83 /include
parentaa131db6914f7bf4738c5964da470a2c254201ad (diff)
input: keyreset: Allow reset function to be overriden
Change-Id: Ibb3dda05772b2e89d7b2646689944d309cb1f74e Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/keyreset.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/keyreset.h b/include/linux/keyreset.h
index 50c4b952b8f..a2ac49e5b68 100644
--- a/include/linux/keyreset.h
+++ b/include/linux/keyreset.h
@@ -20,6 +20,7 @@
#define KEYRESET_NAME "keyreset"
struct keyreset_platform_data {
+ int (*reset_fn)(void);
int *keys_up;
int keys_down[]; /* 0 terminated */
};