diff options
Diffstat (limited to 'drivers/mmc/core/sd.c')
-rw-r--r-- | drivers/mmc/core/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 0f5241085557..bc745e1237bf 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c | |||
@@ -750,7 +750,7 @@ static void mmc_sd_attach_bus_ops(struct mmc_host *host) | |||
750 | { | 750 | { |
751 | const struct mmc_bus_ops *bus_ops; | 751 | const struct mmc_bus_ops *bus_ops; |
752 | 752 | ||
753 | if (host->caps & MMC_CAP_NONREMOVABLE || !mmc_assume_removable) | 753 | if (!mmc_card_is_removable(host)) |
754 | bus_ops = &mmc_sd_ops_unsafe; | 754 | bus_ops = &mmc_sd_ops_unsafe; |
755 | else | 755 | else |
756 | bus_ops = &mmc_sd_ops; | 756 | bus_ops = &mmc_sd_ops; |