From: Linus Walleij Date: Sun, 25 Mar 2012 12:13:05 +0000 (+0000) Subject: pci: get rid of local prototypes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d96e1b03476d8e3b90ee3ff6e68238cb095478e;p=project%2Fbcm63xx%2Fu-boot.git pci: get rid of local prototypes 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 --- diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index 24ab13f685..840385c7a2 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 712c21cf69..7f4604ba2f 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