aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mmc-twl4030.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2009-03-23 21:23:48 -0400
committerTony Lindgren <tony@atomide.com>2009-03-23 21:51:23 -0400
commit8d75e98b5880f8f02be68ddc3cc4e3d433630d7b (patch)
treea48b55f47c87767866661cc7026b57e07705f48f /arch/arm/mach-omap2/mmc-twl4030.h
parent034ae7b41720a26cadd4b2f02bf0b23e79240344 (diff)
ARM: OMAP3: mmc-twl4030 add cover switch
Allow a cover switch to be used to cause a rescan of the MMC slot. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/mmc-twl4030.h')
-rw-r--r--arch/arm/mach-omap2/mmc-twl4030.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mmc-twl4030.h b/arch/arm/mach-omap2/mmc-twl4030.h
index 21d35727f921..0aa168690ed0 100644
--- a/arch/arm/mach-omap2/mmc-twl4030.h
+++ b/arch/arm/mach-omap2/mmc-twl4030.h
@@ -11,6 +11,7 @@ struct twl4030_hsmmc_info {
11 u8 wires; /* 1/4/8 wires */ 11 u8 wires; /* 1/4/8 wires */
12 bool transceiver; /* MMC-2 option */ 12 bool transceiver; /* MMC-2 option */
13 bool ext_clock; /* use external pin for input clock */ 13 bool ext_clock; /* use external pin for input clock */
14 bool cover_only; /* No card detect - just cover switch */
14 int gpio_cd; /* or -EINVAL */ 15 int gpio_cd; /* or -EINVAL */
15 int gpio_wp; /* or -EINVAL */ 16 int gpio_wp; /* or -EINVAL */
16 struct device *dev; /* returned: pointer to mmc adapter */ 17 struct device *dev; /* returned: pointer to mmc adapter */