| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* Core PCI functionality used only by PCI hotplug */ |
| 2 | |||||
| 3 | #include <linux/pci.h> | ||||
| 4 | #include <linux/export.h> | ||||
| 5 | #include "pci.h" | ||||
| 6 | |||||
| 7 | |||||
| 8 | unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus) | ||||
| 9 | { | ||||
| 10 | unsigned int max; | ||||
| 11 | |||||
| 12 | max = pci_scan_child_bus(bus); | ||||
| 13 | |||||
| 14 | /* | ||||
| 15 | * Make the discovered devices available. | ||||
| 16 | */ | ||||
| 17 | pci_bus_add_devices(bus); | ||||
| 18 | |||||
| 19 | return max; | ||||
| 20 | } | ||||
| 21 | EXPORT_SYMBOL(pci_do_scan_bus); | ||||