浏览代码

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 年之前
父节点
当前提交
c22f5e1b1c
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/mmc/host/dw_mmc-exynos.c
  2. 1 1
      drivers/mmc/host/dw_mmc.c

+ 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;
 }
 
-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 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;
 }
 
-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 *host = slot->host;