From a1e47b66d98f5caf19895965cfe38c176bbf01e8 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Sat, 3 Mar 2012 10:05:08 +0000 Subject: pci: move pciauto_config_init() to pci.h Fixing build regressions for the Integrator I get find that a few boards try to work around the missing declaration of pciauto_config_init() by declaring it in the local scope. This does not make sense when the sibling functions are in so move the function to the header, ridding the build error in the Integrator and getting rid of the local declarations here and there. Reported-by: Wolfgang Denk Signed-off-by: Linus Walleij --- board/esd/cpci750/pci.c | 1 - board/prodrive/p3mx/pci.c | 1 - 2 files changed, 2 deletions(-) (limited to 'board') diff --git a/board/esd/cpci750/pci.c b/board/esd/cpci750/pci.c index a2c1c5062..24ab13f68 100644 --- a/board/esd/cpci750/pci.c +++ b/board/esd/cpci750/pci.c @@ -29,7 +29,6 @@ #include #ifdef CONFIG_PCI_PNP -void pciauto_config_init(struct pci_controller *hose); int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar); #endif diff --git a/board/prodrive/p3mx/pci.c b/board/prodrive/p3mx/pci.c index e36b67664..712c21cf6 100644 --- a/board/prodrive/p3mx/pci.c +++ b/board/prodrive/p3mx/pci.c @@ -29,7 +29,6 @@ #include #ifdef CONFIG_PCI_PNP -void pciauto_config_init(struct pci_controller *hose); int pciauto_region_allocate(struct pci_region* res, unsigned int size, unsigned int *bar); #endif -- cgit v1.2.3