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-Url: https://git.stricted.de/?a=commitdiff_plain;h=cbd4e055fc8f09db82d31a5ff6cec3c083cc97a8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 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;