diff mbox series

mmc: sdhci-brcmstb: Fix compiler warning

Message ID 20220506082805.273909-1-ulf.hansson@linaro.org
State New
Headers show
Series mmc: sdhci-brcmstb: Fix compiler warning | expand

Commit Message

Ulf Hansson May 6, 2022, 8:28 a.m. UTC
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>
---
 drivers/mmc/host/sdhci-brcmstb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);