aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-perseus2.c
diff options
context:
space:
mode:
authorKomal Shah <komal_shah802003@yahoo.com>2006-09-29 04:59:20 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 12:18:07 -0400
commit4d24607bfaab3d02fd0d6e0ffc22f29c2bc8eb30 (patch)
tree50e0bfa287b913a9308651d2b78d6fef90e9a835 /arch/arm/mach-omap1/board-perseus2.c
parentad4e09b16ad361c15bd7186dcd118cb901089b97 (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-perseus2.c')
-rw-r--r--arch/arm/mach-omap1/board-perseus2.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c
index 64b45d8ae357..fa4be962df67 100644
--- a/arch/arm/mach-omap1/board-perseus2.c
+++ b/arch/arm/mach-omap1/board-perseus2.c
@@ -171,9 +171,12 @@ static struct resource kp_resources[] = {
171}; 171};
172 172
173static struct omap_kp_platform_data kp_data = { 173static struct omap_kp_platform_data kp_data = {
174 .rows = 8, 174 .rows = 8,
175 .cols = 8, 175 .cols = 8,
176 .keymap = p2_keymap, 176 .keymap = p2_keymap,
177 .keymapsize = ARRAY_SIZE(p2_keymap),
178 .delay = 4,
179 .dbounce = 1,
177}; 180};
178 181
179static struct platform_device kp_device = { 182static struct platform_device kp_device = {