From: Masahiro Yamada Date: Fri, 12 Aug 2016 10:19:03 +0000 (+0900) Subject: mmc: uniphier-sd: add static qualifiers to probe and remove callbacks X-Git-Tag: v2016.09~60^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a70d2622377fd04cd72d1da568acf71d23e02b6;p=u-boot mmc: uniphier-sd: add static qualifiers to probe and remove callbacks They are both only referenced in this file. Signed-off-by: Masahiro Yamada --- 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);