ARM: imx/mx25_3ds: Fix build failure
Subsystems (3)
Fabio Estevam
reviewerPATCH 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
@@ -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
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.Signed-off-by Fabio Estevam <[email protected]>--- 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
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/ |
Sascha Hauer
maintainerPATCH 1/1 ARM: imx/mx25_3ds: Fix build failure
In reply to Fabio EstevamQuoted 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
Signed-off-by Fabio Estevam <[email protected]>--- 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@@ -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 |