diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-02-26 14:44:41 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-17 15:35:04 -0400 |
commit | 7e29c3060369c2cd003b8069972b8535944310e4 (patch) | |
tree | 2f3bd10e1e6f1d9fdb413096ef47bbc3982c7dae /arch/arm/plat-mxc/include/mach | |
parent | 3bb2a9f6a7c0887a7f79b59c5b9bff349a03247e (diff) |
mmc: sdhci-esdhc-imx: add card detect on custom GPIO for mx25/35
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Marc Reilly <marc@cpdesign.com.au>
Tested-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/esdhc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/esdhc.h b/arch/arm/plat-mxc/include/mach/esdhc.h index 47da109ce09b..86003f411755 100644 --- a/arch/arm/plat-mxc/include/mach/esdhc.h +++ b/arch/arm/plat-mxc/include/mach/esdhc.h @@ -16,9 +16,11 @@ * strongly recommended for i.MX25/35, not needed for other variants * * @wp_gpio: gpio for write_protect (-EINVAL if unused) + * @cd_gpio: gpio for card_detect interrupt (-EINVAL if unused) */ struct esdhc_platform_data { unsigned int wp_gpio; + unsigned int cd_gpio; }; #endif /* __ASM_ARCH_IMX_ESDHC_H */ |