[U-Boot] [PATCH] board: rpi_b: include mmc header and fix prototype

Jeroen Hofstee jeroen at myspectrum.nl
Sat Jul 12 21:40:30 CEST 2014


cc: Stephen Warren <swarren at wwwdotorg.org>
Signed-off-by: Jeroen Hofstee <jeroen at myspectrum.nl>
---
 board/raspberrypi/rpi_b/rpi_b.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/raspberrypi/rpi_b/rpi_b.c b/board/raspberrypi/rpi_b/rpi_b.c
index f33fae9..601c6f7 100644
--- a/board/raspberrypi/rpi_b/rpi_b.c
+++ b/board/raspberrypi/rpi_b/rpi_b.c
@@ -17,6 +17,7 @@
 #include <common.h>
 #include <config.h>
 #include <lcd.h>
+#include <mmc.h>
 #include <asm/arch/mbox.h>
 #include <asm/arch/sdhci.h>
 #include <asm/global_data.h>
@@ -91,7 +92,7 @@ int board_init(void)
 	return power_on_module(BCM2835_MBOX_POWER_DEVID_USB_HCD);
 }
 
-int board_mmc_init(void)
+int board_mmc_init(bd_t *bis)
 {
 	ALLOC_ALIGN_BUFFER(struct msg_get_clock_rate, msg_clk, 1, 16);
 	int ret;
-- 
1.8.3.2



More information about the U-Boot mailing list