From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Sun, 10 Jul 2011 08:52:17 +0200 Subject: [U-Boot] [PATCH] ARMv7: u8500_href: Add missing header to fix compiler warning Message-ID: <1310280737-4745-1-git-send-email-dirk.behme@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Dirk Behme 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 --- 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 #include #ifdef CONFIG_MMC +#include "prcmu-fw.h" #include "../../../drivers/mmc/arm_pl180_mmci.h" #endif