From patchwork Sun Jul 10 06:52:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 104045 X-Patchwork-Delegate: albert.aribaud@free.fr Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D0F16B71C5 for ; Sun, 10 Jul 2011 16:52:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 96E5A2808D; Sun, 10 Jul 2011 08:52:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmU8+slxx8Tm; Sun, 10 Jul 2011 08:52:51 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3FBC928085; Sun, 10 Jul 2011 08:52:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 019A328085 for ; Sun, 10 Jul 2011 08:52:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lO0X6wuaJBsF for ; Sun, 10 Jul 2011 08:52:45 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 2363128084 for ; Sun, 10 Jul 2011 08:52:43 +0200 (CEST) Received: by bwb17 with SMTP id 17so2581174bwb.3 for ; Sat, 09 Jul 2011 23:52:43 -0700 (PDT) Received: by 10.204.42.144 with SMTP id s16mr1085539bke.293.1310280762993; Sat, 09 Jul 2011 23:52:42 -0700 (PDT) Received: from asterix.localdomain (p5B044DD6.dip.t-dialin.net [91.4.77.214]) by mx.google.com with ESMTPS id o3sm684992bka.33.2011.07.09.23.52.41 (version=SSLv3 cipher=OTHER); Sat, 09 Jul 2011 23:52:42 -0700 (PDT) From: Dirk Behme To: u-boot@lists.denx.de Date: Sun, 10 Jul 2011 08:52:17 +0200 Message-Id: <1310280737-4745-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 1.7.3.2 Subject: [U-Boot] [PATCH] ARMv7: u8500_href: Add missing header to fix compiler warning X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@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