projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e546b
)
mmc: mmci: Make mmci_variant_init() static
author
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 6 Mar 2019 14:04:56 +0000
(15:04 +0100)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 15 Apr 2019 09:55:54 +0000
(11:55 +0200)
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>
drivers/mmc/host/mmci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mmci.c
b/drivers/mmc/host/mmci.c
index 2f3a1a7bd465fddef96d5cf1a1f2c4e055c760b9..9e6a2c1aecd67289e85abb6e91361cca6ef8d81c 100644
(file)
--- 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