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

Subsystems: arm port, the rest

STALE5670d

3 messages, 3 authors, 2011-03-02 · open the first message on its own page

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

From: festevam@gmail.com (Fabio Estevam)
Date: 2011-03-02 01:15:52

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 <redacted>
---
 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

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

From: Uwe Kleine-König <hidden>
Date: 2011-03-02 08:16:48

On Tue, Mar 01, 2011 at 10:15:52PM -0300, Fabio Estevam wrote:
quoted hunk
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 <redacted>
---
 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,
 };
Acked-by: Uwe Kleine-K?nig <redacted>

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-03-02 11:02:30

On Tue, Mar 01, 2011 at 10:15:52PM -0300, Fabio Estevam wrote:
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 hunk
Signed-off-by: Fabio Estevam <redacted>
---
 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
-- 
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 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help