[U-Boot] [PATCH] PXA: Fix warning in zipitz2

Marek Vasut marek.vasut at gmail.com
Mon Feb 27 12:57:07 CET 2012


Configuring for zipitz2 board...
zipitz2.c: In function ‘board_mmc_init’:
zipitz2.c:85:2: warning: implicit declaration of function ‘pxa_mmc_register’ [-Wimplicit-function-declaration]

Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
 board/zipitz2/zipitz2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c
index 4075fb6..82dfa82 100644
--- a/board/zipitz2/zipitz2.c
+++ b/board/zipitz2/zipitz2.c
@@ -28,6 +28,7 @@
 #include <serial.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/pxa.h>
+#include <asm/arch/regs-mmc.h>
 #include <spi.h>
 #include <asm/io.h>
 
-- 
1.7.9



More information about the U-Boot mailing list