From: Adrian Bunk Date: Fri, 18 Apr 2008 20:53:56 +0000 (-0700) Subject: PCI: pci_bus_size_cardbus() mustn't be __devinit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5468ae617035f06ae1e07c264d6cdfcd721b539f;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 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 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 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];