From: Adrian Bunk Date: Fri, 18 Apr 2008 20:53:55 +0000 (-0700) Subject: PCI: pci_alloc_child_bus() mustn't be __devinit X-Git-Tag: v2.6.26-rc1~1119^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cbd4e055fc8f09db82d31a5ff6cec3c083cc97a8;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 33d9b8bea6e..165553360f2 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;