mmc: Add support for disabling write-protect detection
[firefly-linux-kernel-4.4.55.git] / include / linux / mmc / host.h
index f471193ef6d637a4569f0d5a9962e4604d18b485..433eccb50838e9c2b20510e062313932a4d50fc7 100644 (file)
@@ -286,6 +286,7 @@ struct mmc_host {
                                 MMC_CAP2_HS400_1_2V)
 #define MMC_CAP2_HSX00_1_2V    (MMC_CAP2_HS200_1_2V_SDR | MMC_CAP2_HS400_1_2V)
 #define MMC_CAP2_SDIO_IRQ_NOTHREAD (1 << 17)
+#define MMC_CAP2_NO_WRITE_PROTECT (1 << 18)    /* No physical write protect pin, assume that card is always read-write */
 
        mmc_pm_flag_t           pm_caps;        /* supported pm features */