summaryrefslogtreecommitdiffstats
path: root/include/mmc.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-02-15 14:51:59 -0200
committerStefano Babic <sbabic@denx.de>2014-03-05 12:23:48 +0100
commit3c7ca9670be1040e25081598fb9d3009a6cb08c8 (patch)
tree2c5e8f84ddb1b673757613f88e385dc82bed0857 /include/mmc.h
parentafb9266568866d10338c9c45328d8e7c58bbe836 (diff)
downloadtalos-obmc-uboot-3c7ca9670be1040e25081598fb9d3009a6cb08c8.tar.gz
talos-obmc-uboot-3c7ca9670be1040e25081598fb9d3009a6cb08c8.zip
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 <panto@antoniou-consulting.com> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h2
1 files changed, 2 insertions, 0 deletions
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_ */
OpenPOWER on IntegriCloud