summaryrefslogtreecommitdiff
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-18 13:53:55 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-20 21:47:11 -0700
commitcbd4e055fc8f09db82d31a5ff6cec3c083cc97a8 (patch)
treeed245f6575243928865df0acdf0a7302418e2139 /drivers/pci/probe.c
parent66bef8c059015ba2b36bb5759080336feb01e680 (diff)
PCI: pci_alloc_child_bus() mustn't be __devinit
WARNING: drivers/pci/built-in.o(.text+0xc4c): Section mismatch in reference from the function pci_add_new_bus() to the function .devinit.text:pci_alloc_child_bus() Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 33d9b8bea6e0..165553360f24 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -399,8 +399,8 @@ static struct pci_bus * pci_alloc_bus(void)
return b;
}
-static struct pci_bus * __devinit
-pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr)
+static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent,
+ struct pci_dev *bridge, int busnr)
{
struct pci_bus *child;
int i;