projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afb9266
)
mmc: Add a prototype for board_mmc_init()
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sat, 15 Feb 2014 16:51:59 +0000
(14:51 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 5 Mar 2014 11:23:48 +0000
(12:23 +0100)
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>
include/mmc.h
patch
|
blob
|
history
diff --git
a/include/mmc.h
b/include/mmc.h
index e1060b9ff2794f5b3ebb77b14321ccad1c499d54..218c03f4f6282fe087d54e1cb150cb209a0d75c7 100644
(file)
--- 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_ */