From patchwork Sun Mar 25 22:13:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 148591 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 C0B44B6EEE for ; Mon, 26 Mar 2012 09:13:56 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F338D280CD; Mon, 26 Mar 2012 00:13:45 +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 mJ+QHN8BJu4v; Mon, 26 Mar 2012 00:13:45 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 80704280CE; Mon, 26 Mar 2012 00:13:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3D19B280C6 for ; Mon, 26 Mar 2012 00:13:26 +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 F6D-K2Ek06M8 for ; Mon, 26 Mar 2012 00:13:19 +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.df.lth.se (mail.df.lth.se [194.47.250.12]) by theia.denx.de (Postfix) with ESMTPS id EFD4D280C4 for ; Mon, 26 Mar 2012 00:13:16 +0200 (CEST) Received: from fecusia (c83-249-216-44.bredband.comhem.se [83.249.216.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.df.lth.se (Postfix) with ESMTPSA id 8A4B865D90; Mon, 26 Mar 2012 00:13:10 +0200 (CEST) Received: by fecusia (sSMTP sendmail emulation); Mon, 26 Mar 2012 00:13:09 +0200 From: "Linus Walleij" To: u-boot@lists.denx.de, Wolfgang Denk Date: Mon, 26 Mar 2012 00:13:05 +0200 Message-Id: <1332713585-11084-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.7.7.6 Subject: [U-Boot] [PATCH 1/2] pci: get rid of local prototypes X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 two boards were redeclaring pciauto_region_allocate() in their local scope for no obvious reason, the function is in anyway, this is probably just copying artifacts and old cruft. Signed-off-by: Linus Walleij --- board/esd/cpci750/pci.c | 4 ---- board/prodrive/p3mx/pci.c | 4 ---- 2 files changed, 0 insertions(+), 8 deletions(-) diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index 24ab13f..840385c 100644 --- a/board/esd/cpci750/pci.c +++ b/board/esd/cpci750/pci.c @@ -28,10 +28,6 @@ #ifdef CONFIG_PCI #include -#ifdef CONFIG_PCI_PNP -int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar); -#endif - #include "../../Marvell/include/pci.h" #undef DEBUG diff --git a/board/prodrive/p3mx/pci.c b/board/prodrive/p3mx/pci.c index 712c21c..7f4604b 100644 --- a/board/prodrive/p3mx/pci.c +++ b/board/prodrive/p3mx/pci.c @@ -28,10 +28,6 @@ #ifdef CONFIG_PCI #include -#ifdef CONFIG_PCI_PNP -int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar); -#endif - #include "../../Marvell/include/pci.h" #undef DEBUG