]> git.sur5r.net Git - u-boot/commitdiff
mmc: Staticize sd_select_bus_width
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 14 Apr 2018 22:36:45 +0000 (00:36 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 Apr 2018 20:07:46 +0000 (16:07 -0400)
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>
drivers/mmc/mmc.c

index c93089330030f07a42bd38502c4a536ffec75447..f72b80c70484062e92fe9ff3df6fb8b951f70e61 100644 (file)
@@ -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;