OSDN Git Service

PCI: Separate out pci_assign_unassigned_bus_resources()
authorYinghai Lu <yinghai@kernel.org>
Tue, 30 Oct 2012 20:31:10 +0000 (14:31 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Oct 2012 20:31:10 +0000 (14:31 -0600)
commit1778794031aae75d4464904319d320edc3e77d39
treeb5157865ab7a86f320ec7fc8128b62ddbb7d0a16
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
PCI: Separate out pci_assign_unassigned_bus_resources()

It is main portion of pci_rescan_bus().

Separate it out and prepare to use it for PCI root bus hot add later.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c
include/linux/pci.h