| Sam Ravnborg | 4105717 | 2008-02-02 22:32:23 +0100 | [diff] [blame] | 1 | /* Core PCI functionality used only by PCI hotplug */ | 
 | 2 |  | 
 | 3 | #include <linux/pci.h> | 
 | 4 | #include "pci.h" | 
 | 5 |  | 
 | 6 |  | 
| Sam Ravnborg | 0ab2b57 | 2008-02-17 10:45:28 +0100 | [diff] [blame] | 7 | unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus) | 
| Sam Ravnborg | 4105717 | 2008-02-02 22:32:23 +0100 | [diff] [blame] | 8 | { | 
 | 9 | 	unsigned int max; | 
 | 10 |  | 
 | 11 | 	max = pci_scan_child_bus(bus); | 
 | 12 |  | 
 | 13 | 	/* | 
 | 14 | 	 * Make the discovered devices available. | 
 | 15 | 	 */ | 
 | 16 | 	pci_bus_add_devices(bus); | 
 | 17 |  | 
 | 18 | 	return max; | 
 | 19 | } | 
 | 20 | EXPORT_SYMBOL(pci_do_scan_bus); |