diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2022-05-06 10:28:05 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2022-05-06 10:44:22 +0200 |
commit | 0c9ee5ba7555016afd1efc9598c3f83de5d83470 (patch) | |
tree | a6910db11339253ca21738a8418c46dbc0b29231 | |
parent | 0662d797d5962fd0a21aceb0cf651a6ff308e924 (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
-rw-r--r-- | drivers/mmc/host/sdhci-brcmstb.c | 2 |
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); |