All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] mmc: sdhci-omap: Make sdhci_omap_reset static
@ 2019-03-22 14:11 ` Yue Haibing
  0 siblings, 0 replies; 6+ messages in thread
From: Yue Haibing @ 2019-03-22 14:11 UTC (permalink / raw)
  To: adrian.hunter, kishon, ulf.hansson; +Cc: linux-kernel, linux-mmc, YueHaibing

From: YueHaibing <yuehaibing@huawei.com>

Fix sparse warning:

drivers/mmc/host/sdhci-omap.c:788:6: warning:
 symbol 'sdhci_omap_reset' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/mmc/host/sdhci-omap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c
index 5bbed47..649c03f 100644
--- a/drivers/mmc/host/sdhci-omap.c
+++ b/drivers/mmc/host/sdhci-omap.c
@@ -785,7 +785,7 @@ static void sdhci_omap_set_uhs_signaling(struct sdhci_host *host,
 	sdhci_omap_start_clock(omap_host);
 }
 
-void sdhci_omap_reset(struct sdhci_host *host, u8 mask)
+static void sdhci_omap_reset(struct sdhci_host *host, u8 mask)
 {
 	struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
 	struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host);
-- 
2.7.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-25 13:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 14:11 [PATCH -next] mmc: sdhci-omap: Make sdhci_omap_reset static Yue Haibing
2019-03-22 14:11 ` Yue Haibing
2019-03-22 14:19 ` Faiz Abbas
2019-03-22 14:19   ` Faiz Abbas
2019-03-25 10:17 ` Adrian Hunter
2019-03-25 13:27 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.