public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARMv7: u8500_href: Add missing header to fix compiler warning
@ 2011-07-10  6:52 Dirk Behme
  2011-08-04  8:57 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2011-07-10  6:52 UTC (permalink / raw)
  To: u-boot

From: Dirk Behme <dirk.behme@googlemail.com>

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.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>

---
 board/st-ericsson/u8500/u8500_href.c |    1 +
 1 file changed, 1 insertion(+)

Index: u-boot.git/board/st-ericsson/u8500/u8500_href.c
===================================================================
--- u-boot.git.orig/board/st-ericsson/u8500/u8500_href.c
+++ 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
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-04  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10  6:52 [U-Boot] [PATCH] ARMv7: u8500_href: Add missing header to fix compiler warning Dirk Behme
2011-08-04  8:57 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox