hotplug-pci.c 339 B

1234567891011121314151617181920
  1. /* Core PCI functionality used only by PCI hotplug */
  2. #include <linux/pci.h>
  3. #include "pci.h"
  4. unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus)
  5. {
  6. unsigned int max;
  7. max = pci_scan_child_bus(bus);
  8. /*
  9. * Make the discovered devices available.
  10. */
  11. pci_bus_add_devices(bus);
  12. return max;
  13. }
  14. EXPORT_SYMBOL(pci_do_scan_bus);