aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/teton_bga.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mmp/teton_bga.c')
-rw-r--r--arch/arm/mach-mmp/teton_bga.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c
index e4d95b4c6bb2..6aa53fb29d26 100644
--- a/arch/arm/mach-mmp/teton_bga.c
+++ b/arch/arm/mach-mmp/teton_bga.c
@@ -61,11 +61,15 @@ static unsigned int teton_bga_matrix_key_map[] = {
61 KEY(1, 7, KEY_RIGHT), 61 KEY(1, 7, KEY_RIGHT),
62}; 62};
63 63
64static struct matrix_keymap_data teton_bga_matrix_keymap_data = {
65 .keymap = teton_bga_matrix_key_map,
66 .keymap_size = ARRAY_SIZE(teton_bga_matrix_key_map),
67};
68
64static struct pxa27x_keypad_platform_data teton_bga_keypad_info __initdata = { 69static struct pxa27x_keypad_platform_data teton_bga_keypad_info __initdata = {
65 .matrix_key_rows = 2, 70 .matrix_key_rows = 2,
66 .matrix_key_cols = 8, 71 .matrix_key_cols = 8,
67 .matrix_key_map = teton_bga_matrix_key_map, 72 .matrix_keymap_data = &teton_bga_matrix_keymap_data,
68 .matrix_key_map_size = ARRAY_SIZE(teton_bga_matrix_key_map),
69 .debounce_interval = 30, 73 .debounce_interval = 30,
70}; 74};
71 75