input: keyreset: Allow reset function to be overriden

Change-Id: Ibb3dda05772b2e89d7b2646689944d309cb1f74e
Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
Colin Cross
2011-01-07 14:52:56 -08:00
parent 9b6f4a382d
commit 677ef29f71
2 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,7 @@
#define KEYRESET_NAME "keyreset"
struct keyreset_platform_data {
int (*reset_fn)(void);
int *keys_up;
int keys_down[]; /* 0 terminated */
};