From patchwork Sun May 15 19:19:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 95661 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 AD307B6EEE for ; Mon, 16 May 2011 05:19:57 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E9EF028152; Sun, 15 May 2011 21:19:55 +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 ex3tgYwbDkX7; Sun, 15 May 2011 21:19:55 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 06C0128148; Sun, 15 May 2011 21:19:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 88D7928148 for ; Sun, 15 May 2011 21:19:49 +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 lDyAQqXTLYny for ; Sun, 15 May 2011 21:19:49 +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-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by theia.denx.de (Postfix) with ESMTPS id 059A928145 for ; Sun, 15 May 2011 21:19:45 +0200 (CEST) Received: by fxm15 with SMTP id 15so2661867fxm.3 for ; Sun, 15 May 2011 12:19:45 -0700 (PDT) Received: by 10.223.6.11 with SMTP id 11mr403889fax.100.1305487185101; Sun, 15 May 2011 12:19:45 -0700 (PDT) Received: from asterix.localdomain (p5B044E20.dip.t-dialin.net [91.4.78.32]) by mx.google.com with ESMTPS id j12sm1557249fax.33.2011.05.15.12.19.43 (version=SSLv3 cipher=OTHER); Sun, 15 May 2011 12:19:44 -0700 (PDT) From: Dirk Behme To: u-boot@lists.denx.de Date: Sun, 15 May 2011 21:19:35 +0200 Message-Id: <1305487175-29292-1-git-send-email-dirk.behme@gmail.com> X-Mailer: git-send-email 1.7.3.2 Cc: Matt Waddel , Andy Fleming Subject: [U-Boot] [PATCH] ARMV7: Vexpress: Add missing MMC header 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 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) Signed-off-by: Dirk Behme CC: Andy Fleming CC: Matt Waddel --- 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(+) Index: u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c =================================================================== --- u-boot.git.orig/board/armltd/vexpress/ca9x4_ct_vxp.c +++ u-boot.git/board/armltd/vexpress/ca9x4_ct_vxp.c @@ -38,6 +38,7 @@ #include #include #include +#include <../drivers/mmc/arm_pl180_mmci.h> static ulong timestamp; static ulong lastdec;