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