diff options
author | Komal Shah <komal_shah802003@yahoo.com> | 2006-09-29 10:59:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:07 +0200 |
commit | 4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30 (patch) | |
tree | 50e0bfa287b913a9308651d2b78d6fef90e9a835 /arch/arm/mach-omap2/board-h4.c | |
parent | [PATCH] OMAP: Add keypad driver (diff) | |
download | linux-4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30.tar.xz linux-4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30.zip |
[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 '')
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 4933fce766c8..996aeda1285d 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -245,6 +245,7 @@ static struct omap_kp_platform_data h4_kp_data = { .rows = 6, .cols = 7, .keymap = h4_keymap, + .keymapsize = ARRAY_SIZE(h4_keymap), .rep = 1, .row_gpios = row_gpios, .col_gpios = col_gpios, |