diff mbox

[U-Boot] mmc: uniphier-sd: add static qualifiers to probe and remove callbacks

Message ID 1470997143-15083-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 4a70d2622377fd04cd72d1da568acf71d23e02b6
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Aug. 12, 2016, 10:19 a.m. UTC
They are both only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mmc/uniphier-sd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Masahiro Yamada Aug. 28, 2016, 4:18 a.m. UTC | #1
2016-08-12 19:19 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> They are both only referenced in this file.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---


Applied to u-boot-uniphier/master.
diff mbox

Patch

diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
index 2a48378..f06e737 100644
--- a/drivers/mmc/uniphier-sd.c
+++ b/drivers/mmc/uniphier-sd.c
@@ -646,7 +646,7 @@  static const struct mmc_ops uniphier_sd_ops = {
 	.getcd = uniphier_sd_getcd,
 };
 
-int uniphier_sd_probe(struct udevice *dev)
+static int uniphier_sd_probe(struct udevice *dev)
 {
 	struct uniphier_sd_priv *priv = dev_get_priv(dev);
 	struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev);
@@ -731,7 +731,7 @@  int uniphier_sd_probe(struct udevice *dev)
 	return 0;
 }
 
-int uniphier_sd_remove(struct udevice *dev)
+static int uniphier_sd_remove(struct udevice *dev)
 {
 	struct uniphier_sd_priv *priv = dev_get_priv(dev);