From: Guennadi Liakhovetski Date: Tue, 1 May 2012 13:49:52 +0000 (+0200) Subject: mmc: add two capability flags for CD and WP signal polarity X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5c08d7fae0815cd163a98e05c8d94fc0de77ff67;p=linux-beck.git 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 Signed-off-by: Chris Ball --- 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 { #define MMC_CAP2_BROKEN_VOLTAGE (1 << 7) /* Use the broken voltage */ #define MMC_CAP2_DETECT_ON_ERR (1 << 8) /* On I/O err check card removal */ #define MMC_CAP2_HC_ERASE_SZ (1 << 9) /* High-capacity erase size */ +#define MMC_CAP2_CD_ACTIVE_HIGH (1 << 10) /* Card-detect signal active high */ +#define MMC_CAP2_RO_ACTIVE_HIGH (1 << 11) /* Write-protect signal active high */ mmc_pm_flag_t pm_caps; /* supported pm features */ unsigned int power_notify_type;