Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6/linux-mips/linux-dm7025.git] / drivers / pci / hotplug-pci.c
blob4d4a64478404650a9640c852b3cf708937fc5ff0
1 /* Core PCI functionality used only by PCI hotplug */
3 #include <linux/pci.h>
4 #include "pci.h"
7 unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus)
9 unsigned int max;
11 max = pci_scan_child_bus(bus);
14 * Make the discovered devices available.
16 pci_bus_add_devices(bus);
18 return max;
20 EXPORT_SYMBOL(pci_do_scan_bus);