Skip to contentSkip to conversation

ARM: imx/mx25_3ds: Fix build failure

PATCH New Fabio Estevam 3 participants 3 messages Mar 2, 2011

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: imx/mx25_3ds: Fix build failure

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.

---
 arch/arm/mach-imx/mach-mx25_3ds.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-imx/mach-mx25_3ds.c +0 -1
index 561f07f..11c25f9 100644
@@ -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)
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 ARM: imx/mx25_3ds: Fix build failure

Quoted 17 lines · Fabio Estevam

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.

---
 arch/arm/mach-imx/mach-mx25_3ds.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-imx/mach-mx25_3ds.c +0 -0
index 561f07f..11c25f9 100644

arch/arm/mach-imx/mach-mx25_3ds.c static const struct fsl_usb2_platform_data otg_device_pdata __initconst = { · line 211

Quoted 5 lines
arch/arm/mach-imx/mach-mx25_3ds.c +0 -1
@@ -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,
 };
Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
maintainer
#2 lore raw

PATCH 1/1 ARM: imx/mx25_3ds: Fix build failure

In reply to Fabio Estevam
Quoted 6 lines · Fabio Estevam

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.

I skipped the patch causing the issue instead. Please resend once the dependencies are merged into mainline.

Sascha

Quoted 22 lines
---
 arch/arm/mach-imx/mach-mx25_3ds.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-imx/mach-mx25_3ds.c +0 -1
index 561f07f..11c25f9 100644
@@ -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)
Signature · 1 line
1.6.0.4
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |