summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-12 19:19:03 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-28 12:39:46 +0900
commit4a70d2622377fd04cd72d1da568acf71d23e02b6 (patch)
treee450a45ec8ec29ad6ca189714797dee414674aa9 /drivers/mmc
parentda968c7bfa4cc1203a4f9f61a97f55c85dfbb3b6 (diff)
mmc: uniphier-sd: add static qualifiers to probe and remove callbacks
They are both only referenced in this file. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/uniphier-sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
index 2a4837840a..f06e737295 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);