Commit cbd4e055 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 66bef8c0
...@@ -399,8 +399,8 @@ static struct pci_bus * pci_alloc_bus(void) ...@@ -399,8 +399,8 @@ static struct pci_bus * pci_alloc_bus(void)
return b; return b;
} }
static struct pci_bus * __devinit static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent,
pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr) struct pci_dev *bridge, int busnr)
{ {
struct pci_bus *child; struct pci_bus *child;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment