[U-Boot] [PATCH] mmc: Staticize sd_select_bus_width

Marek Vasut marek.vasut at gmail.com
Sat Apr 14 22:36:45 UTC 2018


From: Marek Vasut <marek.vasut at gmail.com>

Staticize the function since it's only used in mmc.c .

Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Jaehoon Chung <jh80.chung at samsung.com>
Cc: Tom Rini <trini at konsulko.com>
---
 drivers/mmc/mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index c930893300..f72b80c704 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1334,7 +1334,7 @@ static int sd_set_card_speed(struct mmc *mmc, enum bus_mode mode)
 	return 0;
 }
 
-int sd_select_bus_width(struct mmc *mmc, int w)
+static int sd_select_bus_width(struct mmc *mmc, int w)
 {
 	int err;
 	struct mmc_cmd cmd;
-- 
2.16.2



More information about the U-Boot mailing list