diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-18 16:53:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:12 -0400 |
commit | 5468ae617035f06ae1e07c264d6cdfcd721b539f (patch) | |
tree | 538e9e4c28d80c183d5c1c6ad01c6798d9ea5b08 | |
parent | 7f7b5de2c0e10aa35ad9909edb1af9f2aed2f5d0 (diff) |
PCI: pci_bus_size_cardbus() mustn't be __devinit
WARNING: drivers/pci/built-in.o(.text+0x28e1f): Section mismatch in reference from the function pci_bus_size_bridges() to the function .devinit.text:pci_bus_size_cardbus()
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/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 5cf84568c9e4..d4f4c1279ba6 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c | |||
@@ -407,8 +407,7 @@ static int pbus_size_mem(struct pci_bus *bus, unsigned long mask, unsigned long | |||
407 | return 1; | 407 | return 1; |
408 | } | 408 | } |
409 | 409 | ||
410 | static void __devinit | 410 | static void pci_bus_size_cardbus(struct pci_bus *bus) |
411 | pci_bus_size_cardbus(struct pci_bus *bus) | ||
412 | { | 411 | { |
413 | struct pci_dev *bridge = bus->self; | 412 | struct pci_dev *bridge = bus->self; |
414 | struct resource *b_res = &bridge->resource[PCI_BRIDGE_RESOURCES]; | 413 | struct resource *b_res = &bridge->resource[PCI_BRIDGE_RESOURCES]; |