aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-05-01 09:49:52 -0400
committerChris Ball <cjb@laptop.org>2012-07-21 00:02:16 -0400
commit5c08d7fae0815cd163a98e05c8d94fc0de77ff67 (patch)
treea83a81481fb4bd93c6c527a4a8b2665ccc059af5 /include/linux/mmc
parent27410ee7e391ce650d6d0242805f080599be7ad7 (diff)
mmc: add two capability flags for CD and WP signal polarity
To handle CD and WP SD/MMC slot pins we need generic flags to specify their polarity. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 90b6a38b0374..c1a03eed1d17 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -256,6 +256,8 @@ struct mmc_host {
256#define MMC_CAP2_BROKEN_VOLTAGE (1 << 7) /* Use the broken voltage */ 256#define MMC_CAP2_BROKEN_VOLTAGE (1 << 7) /* Use the broken voltage */
257#define MMC_CAP2_DETECT_ON_ERR (1 << 8) /* On I/O err check card removal */ 257#define MMC_CAP2_DETECT_ON_ERR (1 << 8) /* On I/O err check card removal */
258#define MMC_CAP2_HC_ERASE_SZ (1 << 9) /* High-capacity erase size */ 258#define MMC_CAP2_HC_ERASE_SZ (1 << 9) /* High-capacity erase size */
259#define MMC_CAP2_CD_ACTIVE_HIGH (1 << 10) /* Card-detect signal active high */
260#define MMC_CAP2_RO_ACTIVE_HIGH (1 << 11) /* Write-protect signal active high */
259 261
260 mmc_pm_flag_t pm_caps; /* supported pm features */ 262 mmc_pm_flag_t pm_caps; /* supported pm features */
261 unsigned int power_notify_type; 263 unsigned int power_notify_type;