Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b73e9687 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman
Browse files

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: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarDoug Thompson <norsk5@yahoo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0741a951
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -971,6 +971,7 @@ struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn)


	return dev;
	return dev;
}
}
EXPORT_SYMBOL(pci_scan_single_device);


/**
/**
 * pci_scan_slot - scan a PCI slot on a bus for devices.
 * pci_scan_slot - scan a PCI slot on a bus for devices.
@@ -1158,7 +1159,6 @@ EXPORT_SYMBOL(pci_add_new_bus);
EXPORT_SYMBOL(pci_do_scan_bus);
EXPORT_SYMBOL(pci_do_scan_bus);
EXPORT_SYMBOL(pci_scan_slot);
EXPORT_SYMBOL(pci_scan_slot);
EXPORT_SYMBOL(pci_scan_bridge);
EXPORT_SYMBOL(pci_scan_bridge);
EXPORT_SYMBOL(pci_scan_single_device);
EXPORT_SYMBOL_GPL(pci_scan_child_bus);
EXPORT_SYMBOL_GPL(pci_scan_child_bus);
#endif
#endif