aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-18 16:53:55 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 00:47:11 -0400
commitcbd4e055fc8f09db82d31a5ff6cec3c083cc97a8 (patch)
treeed245f6575243928865df0acdf0a7302418e2139
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>
-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)
399 return b; 399 return b;
400} 400}
401 401
402static struct pci_bus * __devinit 402static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent,
403pci_alloc_child_bus(struct pci_bus *parent, struct pci_dev *bridge, int busnr) 403 struct pci_dev *bridge, int busnr)
404{ 404{
405 struct pci_bus *child; 405 struct pci_bus *child;
406 int i; 406 int i;