Эх сурвалжийг харах

mmc: dw_mmc: exynos: dw_mci_exynos_prepare_hs400_tuning() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Wu Fengguang 10 жил өмнө
parent
commit
c22f5e1b1c

+ 1 - 1
drivers/mmc/host/dw_mmc-exynos.c

@@ -477,7 +477,7 @@ static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot)
 	return ret;
 	return ret;
 }
 }
 
 
-int dw_mci_exynos_prepare_hs400_tuning(struct dw_mci *host,
+static int dw_mci_exynos_prepare_hs400_tuning(struct dw_mci *host,
 					struct mmc_ios *ios)
 					struct mmc_ios *ios)
 {
 {
 	struct dw_mci_exynos_priv_data *priv = host->priv;
 	struct dw_mci_exynos_priv_data *priv = host->priv;

+ 1 - 1
drivers/mmc/host/dw_mmc.c

@@ -1365,7 +1365,7 @@ static int dw_mci_execute_tuning(struct mmc_host *mmc, u32 opcode)
 	return err;
 	return err;
 }
 }
 
 
-int dw_mci_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios)
+static int dw_mci_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios)
 {
 {
 	struct dw_mci_slot *slot = mmc_priv(mmc);
 	struct dw_mci_slot *slot = mmc_priv(mmc);
 	struct dw_mci *host = slot->host;
 	struct dw_mci *host = slot->host;