Patchwork [RFC,v1,22/22] PCI: unexport pci_root_buses

login
register
mail settings
Submitter Jiang Liu
Date Aug. 7, 2012, 4:11 p.m.
Message ID <1344355862-2726-23-git-send-email-jiang.liu@huawei.com>
Download mbox | patch
Permalink /patch/175703/
State Not Applicable
Headers show

Comments

Jiang Liu - Aug. 7, 2012, 4:11 p.m.
Now no module refers to pci_root_buses any more, unexport it.

Signed-off-by: Jiang Liu <liuj97@gmail.com>
---
 drivers/pci/probe.c |    2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 09517c3..dd48d7f 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -24,11 +24,9 @@  struct resource busn_resource = {
 };
 
 /*
- * Ugh.  Need to stop exporting this to modules.
  * Protected by pci_host_bridge_hotplug_{lock|unlock}().
  */
 LIST_HEAD(pci_root_buses);
-EXPORT_SYMBOL(pci_root_buses);
 
 static LIST_HEAD(pci_domain_busn_res_list);