summaryrefslogtreecommitdiff
path: root/drivers/mmc/mmc.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-04-15 00:36:45 +0200
committerTom Rini <trini@konsulko.com>2018-04-23 16:07:46 -0400
commitec360e64862ae0ab271296e786917e5f9a04e9fb (patch)
tree681efd86322965338713842400bc301617824763 /drivers/mmc/mmc.c
parent3853c650e4c1bce8df6bd02f6b682a3cedf4f279 (diff)
mmc: Staticize sd_select_bus_width
Staticize the function since it's only used in mmc.c . Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r--drivers/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
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;