summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-h2.c
diff options
context:
space:
mode:
authorKomal Shah <komal_shah802003@yahoo.com>2006-09-29 01:59:20 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:07 -0700
commit4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30 (patch)
tree50e0bfa287b913a9308651d2b78d6fef90e9a835 /arch/arm/mach-omap1/board-h2.c
parentad4e09b16ad361c15bd7186dcd118cb901089b97 (diff)
downloadop-kernel-dev-4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30.zip
op-kernel-dev-4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30.tar.gz
[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-h2.c')
-rw-r--r--arch/arm/mach-omap1/board-h2.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c
index cd3a06d..6e11307 100644
--- a/arch/arm/mach-omap1/board-h2.c
+++ b/arch/arm/mach-omap1/board-h2.c
@@ -167,10 +167,13 @@ static struct resource h2_kp_resources[] = {
};
static struct omap_kp_platform_data h2_kp_data = {
- .rows = 8,
- .cols = 8,
- .keymap = h2_keymap,
- .rep = 1,
+ .rows = 8,
+ .cols = 8,
+ .keymap = h2_keymap,
+ .keymapsize = ARRAY_SIZE(h2_keymap),
+ .rep = 1,
+ .delay = 9,
+ .dbounce = 1,
};
static struct platform_device h2_kp_device = {
OpenPOWER on IntegriCloud