diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-10-04 17:44:20 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-11-13 16:10:16 +0100 |
commit | 38413ce39a4bd908c02257cd2f9e0c92b27886f4 (patch) | |
tree | 749e62b71ced5ba8c0e8e2a579010fab40dd2458 | |
parent | d1807ad6b7dedc5301e803f56d4ae28ecc56b99e (diff) | |
download | linux-38413ce39a4bd908c02257cd2f9e0c92b27886f4.tar.gz linux-38413ce39a4bd908c02257cd2f9e0c92b27886f4.tar.bz2 linux-38413ce39a4bd908c02257cd2f9e0c92b27886f4.zip |
mmc: sdhci-pci: Make function amd_sdhci_reset static
Fix sparse warnings:
drivers/mmc/host/sdhci-pci-core.c:1599:6: warning: symbol 'amd_sdhci_reset' was not declared. Should it be static?
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/sdhci-pci-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c index 659878a8efb2..de50e1dd9fcb 100644 --- a/drivers/mmc/host/sdhci-pci-core.c +++ b/drivers/mmc/host/sdhci-pci-core.c @@ -1596,7 +1596,7 @@ static u32 sdhci_read_present_state(struct sdhci_host *host) return sdhci_readl(host, SDHCI_PRESENT_STATE); } -void amd_sdhci_reset(struct sdhci_host *host, u8 mask) +static void amd_sdhci_reset(struct sdhci_host *host, u8 mask) { struct sdhci_pci_slot *slot = sdhci_priv(host); struct pci_dev *pdev = slot->chip->pdev; |