diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-18 16:53:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:11 -0400 |
commit | cbd4e055fc8f09db82d31a5ff6cec3c083cc97a8 (patch) | |
tree | ed245f6575243928865df0acdf0a7302418e2139 /drivers/pci/probe.c | |
parent | 66bef8c059015ba2b36bb5759080336feb01e680 (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>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 4 |
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 | ||
402 | static struct pci_bus * __devinit | 402 | static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent, |
403 | pci_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; |