From: Fabio Estevam Date: Sat, 15 Feb 2014 16:51:59 +0000 (-0200) Subject: mmc: Add a prototype for board_mmc_init() X-Git-Tag: v2014.04~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3c7ca9670be1040e25081598fb9d3009a6cb08c8;p=oweals%2Fu-boot.git mmc: Add a prototype for board_mmc_init() Fixes the following sparse warning: wandboard.c:137:5: warning: symbol 'board_mmc_init' was not declared. Should it be static? Cc: Pantelis Antoniou Signed-off-by: Fabio Estevam --- diff --git a/include/mmc.h b/include/mmc.h index e1060b9ff2..218c03f4f6 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -349,4 +349,6 @@ struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode); int mmc_legacy_init(int verbose); #endif +int board_mmc_init(bd_t *bis); + #endif /* _MMC_H_ */