diff options
Diffstat (limited to 'arch/arm/mach-mx25/mach-mx25_3ds.c')
-rw-r--r-- | arch/arm/mach-mx25/mach-mx25_3ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx25/mach-mx25_3ds.c b/arch/arm/mach-mx25/mach-mx25_3ds.c index 574c41f510df..1d07cfbd8ff6 100644 --- a/arch/arm/mach-mx25/mach-mx25_3ds.c +++ b/arch/arm/mach-mx25/mach-mx25_3ds.c | |||
@@ -181,7 +181,7 @@ static const uint32_t mx25pdk_keymap[] = { | |||
181 | KEY(3, 3, KEY_POWER), | 181 | KEY(3, 3, KEY_POWER), |
182 | }; | 182 | }; |
183 | 183 | ||
184 | static struct matrix_keymap_data mx25pdk_keymap_data = { | 184 | static const struct matrix_keymap_data mx25pdk_keymap_data __initdata = { |
185 | .keymap = mx25pdk_keymap, | 185 | .keymap = mx25pdk_keymap, |
186 | .keymap_size = ARRAY_SIZE(mx25pdk_keymap), | 186 | .keymap_size = ARRAY_SIZE(mx25pdk_keymap), |
187 | }; | 187 | }; |
@@ -200,7 +200,7 @@ static void __init mx25pdk_init(void) | |||
200 | 200 | ||
201 | mx25pdk_fec_reset(); | 201 | mx25pdk_fec_reset(); |
202 | imx25_add_fec(&mx25_fec_pdata); | 202 | imx25_add_fec(&mx25_fec_pdata); |
203 | mxc_register_device(&mx25_kpp_device, &mx25pdk_keymap_data); | 203 | imx25_add_imx_keypad(&mx25pdk_keymap_data); |
204 | 204 | ||
205 | imx25_add_esdhc(0, NULL); | 205 | imx25_add_esdhc(0, NULL); |
206 | } | 206 | } |