From ec360e64862ae0ab271296e786917e5f9a04e9fb Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 15 Apr 2018 00:36:45 +0200 Subject: [PATCH 1/1] mmc: Staticize sd_select_bus_width Staticize the function since it's only used in mmc.c . Signed-off-by: Marek Vasut Cc: Jaehoon Chung Cc: Tom Rini --- 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.39.2