diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-02-26 08:44:41 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-17 15:35:04 -0400 |
commit | 7e29c3060369c2cd003b8069972b8535944310e4 (patch) | |
tree | 2f3bd10e1e6f1d9fdb413096ef47bbc3982c7dae /arch/arm/plat-mxc/include | |
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')
-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 @@ | |||
16 | * strongly recommended for i.MX25/35, not needed for other variants | 16 | * strongly recommended for i.MX25/35, not needed for other variants |
17 | * | 17 | * |
18 | * @wp_gpio: gpio for write_protect (-EINVAL if unused) | 18 | * @wp_gpio: gpio for write_protect (-EINVAL if unused) |
19 | * @cd_gpio: gpio for card_detect interrupt (-EINVAL if unused) | ||
19 | */ | 20 | */ |
20 | 21 | ||
21 | struct esdhc_platform_data { | 22 | struct esdhc_platform_data { |
22 | unsigned int wp_gpio; | 23 | unsigned int wp_gpio; |
24 | unsigned int cd_gpio; | ||
23 | }; | 25 | }; |
24 | #endif /* __ASM_ARCH_IMX_ESDHC_H */ | 26 | #endif /* __ASM_ARCH_IMX_ESDHC_H */ |