Commit 53e888d1 authored by Hulk Robot's avatar Hulk Robot Committed by Ulf Hansson

mmc: sdhci-msm: Make function sdhci_msm_dump_vendor_regs() static

Fix sparse build warning:

drivers/mmc/host/sdhci-msm.c:1888:6: warning:
 symbol 'sdhci_msm_dump_vendor_regs' was not declared. Should it be static?
Signed-off-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200702020347.77214-1-weiyongjun1@huawei.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 58a91d96
...@@ -2068,7 +2068,7 @@ static int sdhci_msm_start_signal_voltage_switch(struct mmc_host *mmc, ...@@ -2068,7 +2068,7 @@ static int sdhci_msm_start_signal_voltage_switch(struct mmc_host *mmc,
#define SDHCI_MSM_DUMP(f, x...) \ #define SDHCI_MSM_DUMP(f, x...) \
pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x) pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
void sdhci_msm_dump_vendor_regs(struct sdhci_host *host) static void sdhci_msm_dump_vendor_regs(struct sdhci_host *host)
{ {
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host);
......
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