aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorYu Zhao <yu.zhao@intel.com>2008-11-21 13:42:35 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 14:13:06 -0500
commit876e501ab25dcd683574a5d3d56d8fe450083ed6 (patch)
tree0ffefee783b1645e413a8ffa6fb0b615c41862cc /drivers/pci/pci.h
parent3fa16fdb48e0d83c2acf46e357548c89891df58b (diff)
PCI: factor pci_bus_add_child() from pci_bus_add_devices()
This patch splits a new function, pci_bus_add_child(), from pci_bus_add_devices(). The new function can be used to register PCI buses to the device core. Signed-off-by: Yu Zhao <yu.zhao@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index c4f4a1e6ea28..d1e92d83aa06 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -173,6 +173,7 @@ extern int __pci_read_base(struct pci_dev *dev, enum pci_bar_type type,
173 struct resource *res, unsigned int reg); 173 struct resource *res, unsigned int reg);
174extern int pci_resource_bar(struct pci_dev *dev, int resno, 174extern int pci_resource_bar(struct pci_dev *dev, int resno,
175 enum pci_bar_type *type); 175 enum pci_bar_type *type);
176extern int pci_bus_add_child(struct pci_bus *bus);
176extern void pci_enable_ari(struct pci_dev *dev); 177extern void pci_enable_ari(struct pci_dev *dev);
177/** 178/**
178 * pci_ari_enabled - query ARI forwarding status 179 * pci_ari_enabled - query ARI forwarding status