aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-03-06 15:04:56 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-04-15 11:55:54 +0200
commit71953e0e79684d38c86a0b5ad561bcea5f63fd02 (patch)
treea62b287cc5a48a027a948ca69b4fbbe9d46f39ec /drivers/mmc/host
parentmmc: mmci: Share sdmmc_variant_init() via the common header file (diff)
downloadlinux-dev-71953e0e79684d38c86a0b5ad561bcea5f63fd02.tar.xz
linux-dev-71953e0e79684d38c86a0b5ad561bcea5f63fd02.zip
mmc: mmci: Make mmci_variant_init() static
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> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mmci.c2
1 files changed, 1 insertions, 1 deletions
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