@@ -412,7 +412,7 @@ void mmc_wait_for_req_done(struct mmc_host *host, struct mmc_request *mrq)
mmc_card_removed(host->card))
break;
- mmc_retune_recheck(host);
+ mmc_host_retune_recheck(host);
pr_debug("%s: req failed (CMD%u): %d, retrying...\n",
mmc_hostname(host), cmd->opcode, cmd->error);
@@ -33,7 +33,7 @@ static inline void mmc_host_retune_hold_now(struct mmc_host *host)
host->hold_retune += 1;
}
-static inline void mmc_retune_recheck(struct mmc_host *host)
+static inline void mmc_host_retune_recheck(struct mmc_host *host)
{
if (host->hold_retune <= 1)
host->retune_now = 1;
mmc_* functions sometimes relate to the card and sometimes to the host. Make it obvious by renaming this function to include 'host'. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- drivers/mmc/core/core.c | 2 +- drivers/mmc/core/host.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)