mmc: sdhci-of-arasan: Fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 25 Sep 2016 15:44:03 +0000 (15:44 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Oct 2016 11:26:53 +0000 (13:26 +0200)
Fixes the following sparse warning:

drivers/mmc/host/sdhci-of-arasan.c:253:6: warning:
 symbol 'sdhci_arasan_reset' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c

index da8e40af6f85e82143bb222f38d5663a2dbf1766..e263671abab8edde1553b1f7de018e58ab63e0c5 100644 (file)
@@ -250,7 +250,7 @@ static void sdhci_arasan_hs400_enhanced_strobe(struct mmc_host *mmc,
        writel(vendor, host->ioaddr + SDHCI_ARASAN_VENDOR_REGISTER);
 }
 
-void sdhci_arasan_reset(struct sdhci_host *host, u8 mask)
+static void sdhci_arasan_reset(struct sdhci_host *host, u8 mask)
 {
        u8 ctrl;
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);