Commit | Line | Data |
---|---|---|
4105717b SR |
1 | /* Core PCI functionality used only by PCI hotplug */ |
2 | ||
3 | #include <linux/pci.h> | |
363c75db | 4 | #include <linux/export.h> |
4105717b SR |
5 | #include "pci.h" |
6 | ||
7 | ||
0ab2b57f | 8 | unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus) |
4105717b SR |
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); |