Skip to content

Commit 0c9ee5b

Browse files
author
Ulf Hansson
committed
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
1 parent 0662d79 commit 0c9ee5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mmc/host/sdhci-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static inline void enable_clock_gating(struct sdhci_host *host)
4848
sdhci_writel(host, reg, SDHCI_VENDOR);
4949
}
5050

51-
void brcmstb_reset(struct sdhci_host *host, u8 mask)
51+
static void brcmstb_reset(struct sdhci_host *host, u8 mask)
5252
{
5353
struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
5454
struct sdhci_brcmstb_priv *priv = sdhci_pltfm_priv(pltfm_host);

0 commit comments

Comments
 (0)