summaryrefslogtreecommitdiff
path: root/include/linux/keyreset.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-01-07 14:52:56 -0800
committerColin Cross <ccross@android.com>2011-01-07 14:52:56 -0800
commit77fc4228f72d803cace13cfec6a4076b38601bd5 (patch)
tree2eb3315ce88adc13f9a5e796ea9cc429475555e5 /include/linux/keyreset.h
parentc64395938a1345da3eb9a42b779f4e96b66c0202 (diff)
input: keyreset: Allow reset function to be overriden
Change-Id: Ibb3dda05772b2e89d7b2646689944d309cb1f74e Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'include/linux/keyreset.h')
-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 50c4b952b8f7..a2ac49e5b684 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 */
};