hotplug-pci.c 365 B

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