[PATCH] ARM: imx/mx25_3ds: Fix build failure

Fabio Estevam festevam at gmail.com
Tue Mar 1 20:15:52 EST 2011


Commit
ca8d906 (ARM: mach-imx: mx25_3ds: add write-protect and card-detect for SD)

assigned a non-existing member .cd_gpio in a struct esdhc_platform_data.
This field can be added later after the esdhc patches are merged.
Fix the build for now.

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/mach-imx/mach-mx25_3ds.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-imx/mach-mx25_3ds.c b/arch/arm/mach-imx/mach-mx25_3ds.c
index 561f07f..11c25f9 100644
--- a/arch/arm/mach-imx/mach-mx25_3ds.c
+++ b/arch/arm/mach-imx/mach-mx25_3ds.c
@@ -208,7 +208,6 @@ static const struct fsl_usb2_platform_data otg_device_pdata __initconst = {
 
 static const struct esdhc_platform_data mx25pdk_esdhc_pdata __initconst = {
 	.wp_gpio = SD1_GPIO_WP,
-	.cd_gpio = SD1_GPIO_CD,
 };
 
 static void __init mx25pdk_init(void)
-- 
1.6.0.4




More information about the linux-arm-kernel mailing list