diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-21 18:07:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 18:04:21 -0500 |
commit | b73e96878d5d57605aeea89068c8dacd568f5e7e (patch) | |
tree | b1d7bab4cbd24f927c9f54bb9b63bbdb9cd4fac3 /drivers/pci | |
parent | 0741a951e8489ef2889d9e3eecf33bb29b779dd0 (diff) |
PCI: always export pci_scan_single_device
This patch fixes the following build error with CONFIG_HOTPLUG=n:
MODPOST 2137 modules
ERROR: "pci_scan_single_device" [drivers/edac/i82875p_edac.ko] undefined!
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index ceaeac1bd655..d8e32e111632 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -971,6 +971,7 @@ struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn) | |||
971 | 971 | ||
972 | return dev; | 972 | return dev; |
973 | } | 973 | } |
974 | EXPORT_SYMBOL(pci_scan_single_device); | ||
974 | 975 | ||
975 | /** | 976 | /** |
976 | * pci_scan_slot - scan a PCI slot on a bus for devices. | 977 | * pci_scan_slot - scan a PCI slot on a bus for devices. |
@@ -1158,7 +1159,6 @@ EXPORT_SYMBOL(pci_add_new_bus); | |||
1158 | EXPORT_SYMBOL(pci_do_scan_bus); | 1159 | EXPORT_SYMBOL(pci_do_scan_bus); |
1159 | EXPORT_SYMBOL(pci_scan_slot); | 1160 | EXPORT_SYMBOL(pci_scan_slot); |
1160 | EXPORT_SYMBOL(pci_scan_bridge); | 1161 | EXPORT_SYMBOL(pci_scan_bridge); |
1161 | EXPORT_SYMBOL(pci_scan_single_device); | ||
1162 | EXPORT_SYMBOL_GPL(pci_scan_child_bus); | 1162 | EXPORT_SYMBOL_GPL(pci_scan_child_bus); |
1163 | #endif | 1163 | #endif |
1164 | 1164 | ||