[U-Boot] [PATCH 2/5] mmc: Add a prototype for board_mmc_init()

Fabio Estevam festevam at gmail.com
Sat Feb 15 17:51:59 CET 2014


From: Fabio Estevam <fabio.estevam at freescale.com>

Fixes the following sparse warning:

wandboard.c:137:5: warning: symbol 'board_mmc_init' was not declared. Should it be static?

Cc: Pantelis Antoniou <panto at antoniou-consulting.com>
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 include/mmc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/mmc.h b/include/mmc.h
index e1060b9..218c03f 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_ */
-- 
1.8.1.2



More information about the U-Boot mailing list