@@ -703,7 +703,7 @@ int mmc_send_tuning(struct mmc_host *host, u32 opcode, int *cmd_error)
}
EXPORT_SYMBOL_GPL(mmc_send_tuning);
-int mmc_send_abort_tuning(struct mmc_host *host, u32 opcode)
+int mmc_send_abort_tuning(struct mmc_host *host)
{
if (host->bus_ops->send_abort_tuning)
return host->bus_ops->send_abort_tuning(host);
@@ -683,7 +683,7 @@ static int renesas_sdhi_execute_tuning(struct mmc_host *mmc, u32 opcode)
set_bit(i, priv->smpcmp);
if (cmd_error)
- mmc_send_abort_tuning(mmc, opcode);
+ mmc_send_abort_tuning(mmc);
}
ret = renesas_sdhi_select_tuning(host);
@@ -2685,7 +2685,7 @@ void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode)
sdhci_end_tuning(host);
- mmc_send_abort_tuning(host->mmc, opcode);
+ mmc_send_abort_tuning(host->mmc);
}
EXPORT_SYMBOL_GPL(sdhci_abort_tuning);
@@ -633,6 +633,6 @@ static inline enum dma_data_direction mmc_get_dma_dir(struct mmc_data *data)
}
int mmc_send_tuning(struct mmc_host *host, u32 opcode, int *cmd_error);
-int mmc_send_abort_tuning(struct mmc_host *host, u32 opcode);
+int mmc_send_abort_tuning(struct mmc_host *host);
#endif /* LINUX_MMC_HOST_H */
Due to refactoring, this is not needed anymore. Remove it from the core and from drivers. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> --- drivers/mmc/core/mmc_ops.c | 2 +- drivers/mmc/host/renesas_sdhi_core.c | 2 +- drivers/mmc/host/sdhci.c | 2 +- include/linux/mmc/host.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)