Skip to content

Commit

Permalink
mmc: sdhci-brcmstb: Fix compiler warning
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ulf Hansson committed May 6, 2022
1 parent 0662d79 commit 0c9ee5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/sdhci-brcmstb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0c9ee5b

Please sign in to comment.