mmc: Staticize sd_select_bus_width
PATCH 1/1 mmc: Staticize sd_select_bus_width
From: Marek Vasut <[email protected]>
Staticize the function since it's only used in mmc.c .
Signed-off-by Marek Vasut <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Tom Rini <[email protected]>
--- drivers/mmc/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/mmc.c +1 -1
@@ -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;
Signature · 1 line
2.16.2
Quoted 7 lines · Marek Vasut
From: Marek Vasut <[email protected]>
Staticize the function since it's only used in
mmc.c.Signed-off-by Marek Vasut <[email protected]>Cc Jaehoon Chung <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180423/93237430/attachment.sig>