]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pci: get rid of local prototypes
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 25 Mar 2012 12:13:05 +0000 (12:13 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 30 Mar 2012 20:45:44 +0000 (22:45 +0200)
two boards were redeclaring pciauto_region_allocate() in their local
scope for no obvious reason, the function is in <pci.h> anyway,
this is probably just copying artifacts and old cruft.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
board/esd/cpci750/pci.c
board/prodrive/p3mx/pci.c

index 24ab13f685536e461442316f505fc3beff44c5a0..840385c7a23336f38e8967042cfd48e9f424dfe2 100644 (file)
 #ifdef CONFIG_PCI
 #include <pci.h>
 
-#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
index 712c21cf69b44ccecf4f2cb61a5c3f07e418f495..7f4604ba2fa7c1dfefe2a6a71cb294ee0df2c95d 100644 (file)
 #ifdef CONFIG_PCI
 #include <pci.h>
 
-#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