Commit 38413ce3 authored by zhengbin's avatar zhengbin Committed by Ulf Hansson

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent d1807ad6
...@@ -1596,7 +1596,7 @@ static u32 sdhci_read_present_state(struct sdhci_host *host) ...@@ -1596,7 +1596,7 @@ static u32 sdhci_read_present_state(struct sdhci_host *host)
return sdhci_readl(host, SDHCI_PRESENT_STATE); 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 sdhci_pci_slot *slot = sdhci_priv(host);
struct pci_dev *pdev = slot->chip->pdev; struct pci_dev *pdev = slot->chip->pdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment