diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 7ee2e07f36f4..271efeac860b 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -2218,7 +2218,7 @@ int mmc_card_sleep(struct mmc_host *host) | |||
2218 | 2218 | ||
2219 | mmc_bus_get(host); | 2219 | mmc_bus_get(host); |
2220 | 2220 | ||
2221 | if (host->bus_ops && !host->bus_dead && host->bus_ops->awake) | 2221 | if (host->bus_ops && !host->bus_dead && host->bus_ops->sleep) |
2222 | err = host->bus_ops->sleep(host); | 2222 | err = host->bus_ops->sleep(host); |
2223 | 2223 | ||
2224 | mmc_bus_put(host); | 2224 | mmc_bus_put(host); |