diff options
author | Komal Shah <komal_shah802003@yahoo.com> | 2006-09-29 04:59:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:07 -0400 |
commit | 4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30 (patch) | |
tree | 50e0bfa287b913a9308651d2b78d6fef90e9a835 /arch/arm/mach-omap1/board-osk.c | |
parent | ad4e09b16ad361c15bd7186dcd118cb901089b97 (diff) |
[PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata
This patch adds keymapsize, delay and debounce flag in the keypad platform
data for various TI OMAP1/2 based boards like F-sample, H2, H3, Innovator,
Nokia770, OSK, Perseus and H4.
Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm/mach-omap1/board-osk.c')
-rw-r--r-- | arch/arm/mach-omap1/board-osk.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index b742261c97ad..6b05647a6c01 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -266,9 +266,11 @@ static const int osk_keymap[] = { | |||
266 | }; | 266 | }; |
267 | 267 | ||
268 | static struct omap_kp_platform_data osk_kp_data = { | 268 | static struct omap_kp_platform_data osk_kp_data = { |
269 | .rows = 8, | 269 | .rows = 8, |
270 | .cols = 8, | 270 | .cols = 8, |
271 | .keymap = (int *) osk_keymap, | 271 | .keymap = (int *) osk_keymap, |
272 | .keymapsize = ARRAY_SIZE(osk_keymap), | ||
273 | .delay = 9, | ||
272 | }; | 274 | }; |
273 | 275 | ||
274 | static struct resource osk5912_kp_resources[] = { | 276 | static struct resource osk5912_kp_resources[] = { |