PCI: pci_alloc_child_bus() mustn't be __devinit
authorAdrian Bunk <bunk@kernel.org>
Fri, 18 Apr 2008 20:53:55 +0000 (13:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Apr 2008 04:47:11 +0000 (21:47 -0700)
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>
drivers/pci/probe.c

index 33d9b8bea6e04b36f65cf4b5e83c6a0924c6bd89..165553360f2466827175e6725702965c2b0685c9 100644 (file)
@@ -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;