Add linux-next specific files for 20110801
[linux-2.6/next.git] / drivers / pci / hotplug-pci.c
blobd3509cdeb554913dddb68fc5b956c63bd77a1abf
1 /* Core PCI functionality used only by PCI hotplug */
3 #include <linux/pci.h>
4 #include <linux/export.h>
5 #include "pci.h"
8 unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus)
10 unsigned int max;
12 max = pci_scan_child_bus(bus);
15 * Make the discovered devices available.
17 pci_bus_add_devices(bus);
19 return max;
21 EXPORT_SYMBOL(pci_do_scan_bus);