提交 519c51af 编写于 作者: C Colin Ian King 提交者: Ulf Hansson

mmc: sdhci-of-at91: make function sdhci_at91_set_uhs_signaling static

The function sdhci_at91_set_uhs_signaling  is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'sdhci_at91_set_uhs_signaling' was not declared. Should it be
static?
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 085cc3ab
...@@ -114,7 +114,8 @@ static void sdhci_at91_set_power(struct sdhci_host *host, unsigned char mode, ...@@ -114,7 +114,8 @@ static void sdhci_at91_set_power(struct sdhci_host *host, unsigned char mode,
sdhci_set_power_noreg(host, mode, vdd); sdhci_set_power_noreg(host, mode, vdd);
} }
void sdhci_at91_set_uhs_signaling(struct sdhci_host *host, unsigned int timing) static void sdhci_at91_set_uhs_signaling(struct sdhci_host *host,
unsigned int timing)
{ {
if (timing == MMC_TIMING_MMC_DDR52) if (timing == MMC_TIMING_MMC_DDR52)
sdhci_writeb(host, SDMMC_MC1R_DDR, SDMMC_MC1R); sdhci_writeb(host, SDMMC_MC1R_DDR, SDMMC_MC1R);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册