aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/mach-mx25_3ds.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-11 05:35:33 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 04:01:39 -0500
commitab9cee4b2167f8bf01d85b537df5b9cbe342c780 (patch)
treedb37c9d9263e1a2aea6c3c6b08b904c0163e905e /arch/arm/mach-mx25/mach-mx25_3ds.c
parentd485c7e71675abdd6133128e596b41284c2ee7b5 (diff)
ARM: mx25: dynamically allocate imx-keypad devices
The mxc-keypad device seems to be the result of an early and partial merge of the keypad driver. It's unused and there is no corresponding driver available, so just remove it. Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/mach-mx25_3ds.c')
-rw-r--r--arch/arm/mach-mx25/mach-mx25_3ds.c4
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
184static struct matrix_keymap_data mx25pdk_keymap_data = { 184static 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}