* [2.6 patch] pci_setup_bridge() 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+0x28ee9): Section mismatch in reference from the function pci_bus_assign_resources() to the function .devinit.text:pci_setup_bridge()
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
799449b90fcd191ae39cd6b6147ce337ad8670ea
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 2cc957d..85e7971 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -140,8 +140,7 @@ EXPORT_SYMBOL(pci_setup_cardbus);
config space writes, so it's quite possible that an I/O window of
the bridge will have some undesirable address (e.g. 0) after the
first write. Ditto 64-bit prefetchable MMIO. */
-static void __devinit
-pci_setup_bridge(struct pci_bus *bus)
+static void pci_setup_bridge(struct pci_bus *bus)
{
struct pci_dev *bridge = bus->self;
struct pci_bus_region region;
^ 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_setup_bridge() 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