diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-18 16:53:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 00:47:12 -0400 |
commit | 7f7b5de2c0e10aa35ad9909edb1af9f2aed2f5d0 (patch) | |
tree | fc73e811e2abe970970e216eeef4e61e3ba9bacc /drivers/pci/probe.c | |
parent | cbd4e055fc8f09db82d31a5ff6cec3c083cc97a8 (diff) |
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 <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); | |||
875 | * Read the config data for a PCI device, sanity-check it | 875 | * Read the config data for a PCI device, sanity-check it |
876 | * and fill in the dev structure... | 876 | * and fill in the dev structure... |
877 | */ | 877 | */ |
878 | static struct pci_dev * __devinit | 878 | static struct pci_dev *pci_scan_device(struct pci_bus *bus, int devfn) |
879 | pci_scan_device(struct pci_bus *bus, int devfn) | ||
880 | { | 879 | { |
881 | struct pci_dev *dev; | 880 | struct pci_dev *dev; |
882 | u32 l; | 881 | u32 l; |