summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-08-13 14:07:06 +0200
committerThierry Reding <treding@nvidia.com>2014-06-04 09:30:46 +0200
commit93aa29f23ceb39468ef67fdb4d423293650429b1 (patch)
tree9de1d9ea406bb017e4d5fdfb8422d8f686c6fc5f
parent1046e7f788c59b67de48eec6db414e225522e5fc (diff)
PCI: Export pci_create_root_bus()
This function is commonly used by PCIe host controller drivers. Export it so that these drivers can be built as modules. Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/pci/probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 2bbf5221afb..70b3f143a62 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1856,6 +1856,7 @@ err_out:
kfree(b);
return NULL;
}
+EXPORT_SYMBOL(pci_create_root_bus);
int pci_bus_insert_busn_res(struct pci_bus *b, int bus, int bus_max)
{