From: Adrian Bunk Date: Fri, 18 Apr 2008 20:53:55 +0000 (-0700) Subject: PCI: pci_scan_device() mustn't be __devinit X-Git-Tag: v2.6.26-rc1~1119^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7f7b5de2c0e10aa35ad9909edb1af9f2aed2f5d0;p=karo-tx-linux.git PCI: pci_scan_device() mustn't be __devinit WARNING: drivers/pci/built-in.o(.text+0x150f): Section mismatch in reference from the function pci_scan_single_device() to the function .devinit.text:pci_scan_device() Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 165553360f24..46a475384362 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -875,8 +875,7 @@ EXPORT_SYMBOL(alloc_pci_dev); * Read the config data for a PCI device, sanity-check it * and fill in the dev structure... */ -static struct pci_dev * __devinit -pci_scan_device(struct pci_bus *bus, int devfn) +static struct pci_dev *pci_scan_device(struct pci_bus *bus, int devfn) { struct pci_dev *dev; u32 l;