diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-09 21:22:22 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-09 21:24:26 -0700 |
commit | 09113aea553cfaf074fd669cd0465daac4cea6e8 (patch) | |
tree | 0b03d3e292e5a244fbbd0b504dc9e4090bdbeb81 /arch/arm/mach-w90x900/include | |
parent | 4a15235e79f5160a34100b362af2c674d191d0a5 (diff) | |
download | linux-09113aea553cfaf074fd669cd0465daac4cea6e8.tar.bz2 |
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/include')
-rw-r--r-- | arch/arm/mach-w90x900/include/mach/w90p910_keypad.h | 5 |
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 @@ extern void mfp_set_groupi(struct device *dev); struct w90p910_keypad_platform_data { + const struct matrix_keymap_data *keymap_data; unsigned int prescale; unsigned int debounce; - unsigned int matrix_key_rows; - unsigned int matrix_key_cols; - unsigned int *matrix_key_map; - int matrix_key_map_size; }; #endif /* __ASM_ARCH_W90P910_KEYPAD_H */ |