Browse Source

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>
Fabio Estevam 11 years ago
parent
commit
3c7ca9670b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/mmc.h

+ 2 - 0
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);
 int mmc_legacy_init(int verbose);
 #endif
 #endif
 
 
+int board_mmc_init(bd_t *bis);
+
 #endif /* _MMC_H_ */
 #endif /* _MMC_H_ */