Skip to contentSkip to conversation

ARMV7: Vexpress: Add missing MMC header

PATCH Superseded Dirk Behme 1 participant 1 message May 15, 2011 Arm/versatile express platform

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 ARMV7: Vexpress: Add missing MMC header

From: Dirk Behme <[email protected]>

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" (f0c64526b7e51ba997a0f1baf9e74e6d497b957e)

CC Andy Fleming <[email protected]>
CC Matt Waddel <[email protected]>

---

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(+)
board/armltd/vexpress/ca9x4_ct_vxp.c +1 -0
Index: 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;