mmc: uniphier-sd: add static qualifiers to probe and remove callbacks
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 12 Aug 2016 10:19:03 +0000 (19:19 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Aug 2016 03:39:46 +0000 (12:39 +0900)
They are both only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/uniphier-sd.c

index 2a48378..f06e737 100644 (file)
@@ -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);