aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/eukrea_mbimx27-baseboard.c')
-rw-r--r--arch/arm/mach-imx/eukrea_mbimx27-baseboard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
index a226e2540ebd..fa5aaded7c2e 100644
--- a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
+++ b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
@@ -33,7 +33,6 @@
33#include <mach/common.h> 33#include <mach/common.h>
34#include <mach/iomux-mx27.h> 34#include <mach/iomux-mx27.h>
35#include <mach/hardware.h> 35#include <mach/hardware.h>
36#include <mach/mmc.h>
37#include <mach/spi.h> 36#include <mach/spi.h>
38#include <mach/audmux.h> 37#include <mach/audmux.h>
39 38
@@ -305,7 +304,7 @@ static struct platform_device *platform_devices[] __initdata = {
305 &leds_gpio, 304 &leds_gpio,
306}; 305};
307 306
308static struct imxmmc_platform_data sdhc_pdata = { 307static const struct imxmmc_platform_data sdhc_pdata __initconst = {
309 .dat3_card_detect = 1, 308 .dat3_card_detect = 1,
310}; 309};
311 310
@@ -351,7 +350,7 @@ void __init eukrea_mbimx27_baseboard_init(void)
351#endif 350#endif
352 351
353 imx27_add_imx_fb(&eukrea_mbimx27_fb_data); 352 imx27_add_imx_fb(&eukrea_mbimx27_fb_data);
354 mxc_register_device(&mxc_sdhc_device0, &sdhc_pdata); 353 imx27_add_mxc_mmc(0, &sdhc_pdata);
355 354
356 i2c_register_board_info(0, eukrea_mbimx27_i2c_devices, 355 i2c_register_board_info(0, eukrea_mbimx27_i2c_devices,
357 ARRAY_SIZE(eukrea_mbimx27_i2c_devices)); 356 ARRAY_SIZE(eukrea_mbimx27_i2c_devices));