From: Kyungmin Park Date: Thu, 17 Nov 2011 04:34:33 +0000 (+0900) Subject: mmc: core: Fix typo at mmc_card_sleep X-Git-Tag: next-20111118~30^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce8fda69d434f58b0b35017d08ce061ffba6e115;p=karo-tx-linux.git mmc: core: Fix typo at mmc_card_sleep Fix wrong bus_ops->sleep check. (This isn't expected to have real-world consequences, because the mmc core always defines both 'awake' and 'sleep' ops.) Signed-off-by: Kyungmin Park Signed-off-by: Chris Ball --- 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) mmc_bus_get(host); - if (host->bus_ops && !host->bus_dead && host->bus_ops->awake) + if (host->bus_ops && !host->bus_dead && host->bus_ops->sleep) err = host->bus_ops->sleep(host); mmc_bus_put(host);