Skip to contentSkip to conversation

ARMv7: u8500_href: Add missing header to fix compiler warning

PATCH New Dirk Behme 2 participants 2 messages Jul 10, 2011 – Aug 4, 2011

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 ARMv7: u8500_href: Add missing header to fix compiler warning

From: Dirk Behme <[email protected]>

Fix the compiler warning

u8500_href.c: In function 'hrefplus_mmc_power_init':
u8500_href.c:258: warning: implicit declaration of function 'prcmu_i2c_read' u8500_href.c:265: warning: implicit declaration of function 'prcmu_i2c_write'

by adding the missing header file.

---
 board/st-ericsson/u8500/u8500_href.c |    1 +
 1 file changed, 1 insertion(+)
board/st-ericsson/u8500/u8500_href.c +1 -0
Index: u-boot.git/board/st-ericsson/u8500/u8500_href.c
===================================================================
@@ -27,6 +27,7 @@
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 #ifdef CONFIG_MMC
+#include "prcmu-fw.h"
 #include "../../../drivers/mmc/arm_pl180_mmci.h"
 #endif
 
#1 lore raw

PATCH 1/1 ARMv7: u8500_href: Add missing header to fix compiler warning

Hi Dirk,

Quoted 8 lines · Dirk Behme

From: Dirk Behme<[email protected]>

Fix the compiler warning

u8500_href.c: In function 'hrefplus_mmc_power_init':
u8500_href.c:258: warning: implicit declaration of function 'prcmu_i2c_read' u8500_href.c:265: warning: implicit declaration of function 'prcmu_i2c_write'

Quoted 5 lines

by adding the missing header file.

---

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.