[U-Boot] ARMV7: Vexpress: Add missing MMC header

Message ID 1305487175-29292-1-git-send-email-dirk.behme@gmail.com
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Dirk Behme May 15, 2011, 7:19 p.m.
From: Dirk Behme <dirk.behme@googlemail.com>

Add a header file with the missing function prototype to fix

ca9x4_ct_vxp.c: In function 'cpu_mmc_init':
ca9x4_ct_vxp.c:93: warning: implicit declaration of function 'arm_pl180_mmci_init'

introduced by commit "ARMV7: Vexpress: Add MMC support"

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: Andy Fleming <afleming@freescale.com>
CC: Matt Waddel <matt.waddel@linaro.org>


Note: Maybe it would be better to move

int arm_pl180_mmci_init(void);

from drivers/mmc/arm_pl180_mmci.h to a header in the
include directory?

 board/armltd/vexpress/ca9x4_ct_vxp.c |    1 +
 1 file changed, 1 insertion(+)


Index: u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c
--- u-boot.git.orig/board/armltd/vexpress/ca9x4_ct_vxp.c
+++ u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c
@@ -38,6 +38,7 @@ 
 #include <asm/arch/systimer.h>
 #include <asm/arch/sysctrl.h>
 #include <asm/arch/wdt.h>
+#include <../drivers/mmc/arm_pl180_mmci.h>
 static ulong timestamp;
 static ulong lastdec;