summaryrefslogtreecommitdiff
path: root/board/esd/cpci750/pci.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-03-25 12:13:05 +0000
committerWolfgang Denk <wd@denx.de>2012-03-30 22:45:44 +0200
commit8d96e1b03476d8e3b90ee3ff6e68238cb095478e (patch)
tree536ad932f6777cfd925c8be7bc25302a1922bfe1 /board/esd/cpci750/pci.c
parent57210c7cc363cf2a2a28010658c7ea67388f8d21 (diff)
downloadu-boot-imx-8d96e1b03476d8e3b90ee3ff6e68238cb095478e.zip
u-boot-imx-8d96e1b03476d8e3b90ee3ff6e68238cb095478e.tar.gz
u-boot-imx-8d96e1b03476d8e3b90ee3ff6e68238cb095478e.tar.bz2
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 <pci.h> anyway, this is probably just copying artifacts and old cruft. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'board/esd/cpci750/pci.c')
-rw-r--r--board/esd/cpci750/pci.c4
1 files changed, 0 insertions, 4 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 <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