aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-10 00:22:22 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-08-10 00:24:26 -0400
commit09113aea553cfaf074fd669cd0465daac4cea6e8 (patch)
tree0b03d3e292e5a244fbbd0b504dc9e4090bdbeb81 /arch/arm/mach-w90x900
parent4a15235e79f5160a34100b362af2c674d191d0a5 (diff)
Input: w90p910_keypad - adjust to use definitions from matrix_keypad.h
Also have the driver send MSC_SCAN events as most keyboards do to aid in updating keymap from userspace. Tested-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r--arch/arm/mach-w90x900/include/mach/w90p910_keypad.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
index 79462faaa189..556778e8ddaa 100644
--- a/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
+++ b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
@@ -6,13 +6,10 @@
6extern void mfp_set_groupi(struct device *dev); 6extern void mfp_set_groupi(struct device *dev);
7 7
8struct w90p910_keypad_platform_data { 8struct w90p910_keypad_platform_data {
9 const struct matrix_keymap_data *keymap_data;
9 10
10 unsigned int prescale; 11 unsigned int prescale;
11 unsigned int debounce; 12 unsigned int debounce;
12 unsigned int matrix_key_rows;
13 unsigned int matrix_key_cols;
14 unsigned int *matrix_key_map;
15 int matrix_key_map_size;
16}; 13};
17 14
18#endif /* __ASM_ARCH_W90P910_KEYPAD_H */ 15#endif /* __ASM_ARCH_W90P910_KEYPAD_H */