diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-18 16:53:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:13 -0400 |
commit | a391f19717984a8f70756b29074298f379fcfdbc (patch) | |
tree | d6590a434e8801cad54bafe300f2cfb36a9767bd /drivers/pci/setup-bus.c | |
parent | 5468ae617035f06ae1e07c264d6cdfcd721b539f (diff) |
PCI: pci_setup_bridge() mustn't be __devinit
WARNING: drivers/pci/built-in.o(.text+0x28ee9): Section mismatch in reference from the function pci_bus_assign_resources() to the function .devinit.text:pci_setup_bridge()
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/setup-bus.c')
-rw-r--r-- | drivers/pci/setup-bus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index d4f4c1279ba6..f9b7bdd27829 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -145,8 +145,7 @@ EXPORT_SYMBOL(pci_setup_cardbus); | |||
145 | config space writes, so it's quite possible that an I/O window of | 145 | config space writes, so it's quite possible that an I/O window of |
146 | the bridge will have some undesirable address (e.g. 0) after the | 146 | the bridge will have some undesirable address (e.g. 0) after the |
147 | first write. Ditto 64-bit prefetchable MMIO. */ | 147 | first write. Ditto 64-bit prefetchable MMIO. */ |
148 | static void __devinit | 148 | static void pci_setup_bridge(struct pci_bus *bus) |
149 | pci_setup_bridge(struct pci_bus *bus) | ||
150 | { | 149 | { |
151 | struct pci_dev *bridge = bus->self; | 150 | struct pci_dev *bridge = bus->self; |
152 | struct pci_bus_region region; | 151 | struct pci_bus_region region; |