--- linux-3.18.12/drivers/mmc/core/quirks.c 2015-05-05 09:46:42.748200476 -0700 +++ linux-3.18.12/drivers/mmc/core/quirks.c 2015-05-05 09:59:52.058118203 -0700 @@ -71,7 +71,9 @@ static const struct mmc_fixup mmc_fixup_ void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) { +#if 0 extern unsigned mmc_debug; +#endif const struct mmc_fixup *f; u64 rev = cid_rev_card(card); @@ -99,7 +101,9 @@ void mmc_fixup_device(struct mmc_card *c /* SDHCI on BCM2708 - bug causes a certain sequence of CMD23 operations to fail. * Disable this flag for all cards (fall-back to CMD25/CMD18 multi-block transfers). */ +#if 0 if (mmc_debug & (1<<13)) card->quirks |= MMC_QUIRK_BLK_NO_CMD23; +#endif } EXPORT_SYMBOL(mmc_fixup_device);