diff options
author | Yinghai Lu <yinghai@kernel.org> | 2012-10-30 16:31:10 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-10-30 16:31:10 -0400 |
commit | 1778794031aae75d4464904319d320edc3e77d39 (patch) | |
tree | b5157865ab7a86f320ec7fc8128b62ddbb7d0a16 /include/linux/pci.h | |
parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) |
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>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index ee2179546c63..f543eb3b1c0c 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -958,6 +958,7 @@ void pci_bus_size_bridges(struct pci_bus *bus); | |||
958 | int pci_claim_resource(struct pci_dev *, int); | 958 | int pci_claim_resource(struct pci_dev *, int); |
959 | void pci_assign_unassigned_resources(void); | 959 | void pci_assign_unassigned_resources(void); |
960 | void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge); | 960 | void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge); |
961 | void pci_assign_unassigned_bus_resources(struct pci_bus *bus); | ||
961 | void pdev_enable_device(struct pci_dev *); | 962 | void pdev_enable_device(struct pci_dev *); |
962 | int pci_enable_resources(struct pci_dev *, int mask); | 963 | int pci_enable_resources(struct pci_dev *, int mask); |
963 | void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *), | 964 | void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *), |