aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-mx27_3ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mach-mx27_3ds.c')
-rw-r--r--arch/arm/mach-imx/mach-mx27_3ds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
index 84a5ba03f1ba..e6212c3d53b5 100644
--- a/arch/arm/mach-imx/mach-mx27_3ds.c
+++ b/arch/arm/mach-imx/mach-mx27_3ds.c
@@ -30,7 +30,6 @@
30#include <mach/hardware.h> 30#include <mach/hardware.h>
31#include <mach/common.h> 31#include <mach/common.h>
32#include <mach/iomux-mx27.h> 32#include <mach/iomux-mx27.h>
33#include <mach/mmc.h>
34 33
35#include "devices-imx27.h" 34#include "devices-imx27.h"
36#include "devices.h" 35#include "devices.h"
@@ -109,7 +108,7 @@ static void mx27_3ds_sdhc1_exit(struct device *dev, void *data)
109 free_irq(IRQ_GPIOB(26), data); 108 free_irq(IRQ_GPIOB(26), data);
110} 109}
111 110
112static struct imxmmc_platform_data sdhc1_pdata = { 111static const struct imxmmc_platform_data sdhc1_pdata __initconst = {
113 .init = mx27_3ds_sdhc1_init, 112 .init = mx27_3ds_sdhc1_init,
114 .exit = mx27_3ds_sdhc1_exit, 113 .exit = mx27_3ds_sdhc1_exit,
115}; 114};
@@ -129,7 +128,7 @@ static void __init mx27pdk_init(void)
129 imx27_add_imx_uart0(&uart_pdata); 128 imx27_add_imx_uart0(&uart_pdata);
130 imx27_add_fec(NULL); 129 imx27_add_fec(NULL);
131 mxc_register_device(&imx_kpp_device, &mx27_3ds_keymap_data); 130 mxc_register_device(&imx_kpp_device, &mx27_3ds_keymap_data);
132 mxc_register_device(&mxc_sdhc_device0, &sdhc1_pdata); 131 imx27_add_mxc_mmc(0, &sdhc1_pdata);
133} 132}
134 133
135static void __init mx27pdk_timer_init(void) 134static void __init mx27pdk_timer_init(void)