From: Madhusudhan Chikkature Date: Wed, 13 Aug 2008 06:13:30 +0000 (+0530) Subject: Enable 4-bit in HSMMC1 and HSMMC2 platform data X-Git-Tag: v2.6.27-omap1~221 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1bf4c593acfa16968eeff3074ea308574ca09a00;p=linux-2.6-omap-h63xx.git Enable 4-bit in HSMMC1 and HSMMC2 platform data ARM: OMAP3: Enable 4-bit support for HSMMC. This patch provides the fix to enable 4-bit support for HSMMC. Signed-off-by: Madhusudhan Chikkature Signed-off-by: purushotam Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index 3bd1da28711..aa1299faaf3 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c @@ -289,13 +289,17 @@ static void __init omap_init_mmc(void) mmc = &mmc_conf->mmc[0]; if (cpu_is_omap2430() || cpu_is_omap34xx()) { - if (mmc->enabled) + if (mmc->enabled) { + mmc1_data.conf = *mmc; (void) platform_device_register(&mmc_omap_device1); + } #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP34XX) mmc = &mmc_conf->mmc[1]; - if (mmc->enabled) + if (mmc->enabled) { + mmc2_data.conf = *mmc; (void) platform_device_register(&mmc_omap_device2); + } #endif return;