From: Adrian Bunk Date: Fri, 18 Apr 2008 20:53:57 +0000 (-0700) Subject: PCI: pci_setup_bridge() mustn't be __devinit X-Git-Tag: v2.6.26-rc1~1119^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a391f19717984a8f70756b29074298f379fcfdbc;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index d4f4c1279ba..f9b7bdd2782 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -145,8 +145,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;