* [2.6 patch] pci_bus_size_cardbus() mustn't be __devinit
@ 2008-01-30 20:02 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-01-30 20:02 UTC (permalink / raw)
To: gregkh; +Cc: linux-pci, linux-kernel
This patch fixes the following section mismatch:
<-- snip -->
...
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()
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
5049ae8012186114d885db973a04b2f0c45f93a2
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 401e03c..2cc957d 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -390,8 +390,7 @@ static int pbus_size_mem(struct pci_bus *bus, unsigned long mask, unsigned long
return 1;
}
-static void __devinit
-pci_bus_size_cardbus(struct pci_bus *bus)
+static void pci_bus_size_cardbus(struct pci_bus *bus)
{
struct pci_dev *bridge = bus->self;
struct resource *b_res = &bridge->resource[PCI_BRIDGE_RESOURCES];
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-30 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 20:02 [2.6 patch] pci_bus_size_cardbus() mustn't be __devinit Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox