diff mbox

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

Message ID 1392483122-21852-2-git-send-email-festevam@gmail.com
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Feb. 15, 2014, 4:51 p.m. UTC
From: Fabio Estevam <fabio.estevam@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@antoniou-consulting.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/mmc.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic March 5, 2014, 11:10 a.m. UTC | #1
On 15/02/2014 17:51, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@antoniou-consulting.com>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---



Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

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_ */