[6/6] mmc: mmci: Make mmci_variant_init() static

Message ID 20190306140456.28187-7-ulf.hansson@linaro.org
State New
Headers show
Series
  • mmc: mmci: Cleanup some variant related code
Related show

Commit Message

Ulf Hansson March 6, 2019, 2:04 p.m.
As mmci_variant_init() is a local function to mmci.c, let's convert it into
static.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

---
 drivers/mmc/host/mmci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Patch

diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 2f3a1a7bd465..9e6a2c1aecd6 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -47,7 +47,7 @@ 
 #define DRIVER_NAME "mmci-pl18x"
 
 #ifdef CONFIG_DMA_ENGINE
-void mmci_variant_init(struct mmci_host *host);
+static void mmci_variant_init(struct mmci_host *host);
 #else
 static inline void mmci_variant_init(struct mmci_host *host) {}
 #endif