summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2022-05-06 10:28:05 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2022-05-06 10:44:22 +0200
commit0c9ee5ba7555016afd1efc9598c3f83de5d83470 (patch)
treea6910db11339253ca21738a8418c46dbc0b29231 /drivers/mmc
parent0662d797d5962fd0a21aceb0cf651a6ff308e924 (diff)
mmc: sdhci-brcmstb: Fix compiler warning
Fix the compiler warning triggered by -Wmissing-prototypes for brcmstb_reset() by making it static. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20220506082805.273909-1-ulf.hansson@linaro.org
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-brcmstb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-brcmstb.c b/drivers/mmc/host/sdhci-brcmstb.c
index 683d0c685748..8eb57de48e0c 100644
--- a/drivers/mmc/host/sdhci-brcmstb.c
+++ b/drivers/mmc/host/sdhci-brcmstb.c
@@ -48,7 +48,7 @@ static inline void enable_clock_gating(struct sdhci_host *host)
sdhci_writel(host, reg, SDHCI_VENDOR);
}
-void brcmstb_reset(struct sdhci_host *host, u8 mask)
+static void brcmstb_reset(struct sdhci_host *host, u8 mask)
{
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
struct sdhci_brcmstb_priv *priv = sdhci_pltfm_priv(pltfm_host);