https://github.com/torvalds/linux
Raw File
Tip revision: 384703b8e6cd4c8ef08512e596024e028c91c339 authored by Linus Torvalds on 17 December 2011, 02:36:26 UTC
Linux 3.2-rc6
Tip revision: 384703b
hotplug-pci.c
/* Core PCI functionality used only by PCI hotplug */

#include <linux/pci.h>
#include <linux/export.h>
#include "pci.h"


unsigned int __devinit pci_do_scan_bus(struct pci_bus *bus)
{
	unsigned int max;

	max = pci_scan_child_bus(bus);

	/*
	 * Make the discovered devices available.
	 */
	pci_bus_add_devices(bus);

	return max;
}
EXPORT_SYMBOL(pci_do_scan_bus);
back to top