linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: export symbol pci_bus_sem to module
@ 2012-05-28  7:33 Jiang Liu
  2012-06-08  7:01 ` Yinghai Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Jiang Liu @ 2012-05-28  7:33 UTC (permalink / raw)
  To: Bjorn Helgaas, Amos Kong, Yijing Wang
  Cc: Jiang Liu, Kenji Kaneshige, Yinghai Lu, Keping Chen, linux-pci,
	Jiang Liu

Changeset "9080648 PCI: acpiphp: remove all functions in slot,
even without ACPI _EJx" introduces pci_bus_sem into the acpiphp
driver, but pci_bus_sem hasn't been exported to modules yet.
So export symbol pci_bus_sem to modules, otherwise the acpiphp
driver can't be built as module any more.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
---
 drivers/pci/search.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/search.c b/drivers/pci/search.c
index 9d75dc8..e0c7a22 100644
--- a/drivers/pci/search.c
+++ b/drivers/pci/search.c
@@ -15,6 +15,8 @@
 #include "pci.h"
 
 DECLARE_RWSEM(pci_bus_sem);
+EXPORT_SYMBOL(pci_bus_sem);
+
 /*
  * find the upstream PCIe-to-PCI bridge of a PCI device
  * if the device is PCIE, return NULL
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-11 22:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-28  7:33 [PATCH] PCI: export symbol pci_bus_sem to module Jiang Liu
2012-06-08  7:01 ` Yinghai Lu
2012-06-11 17:43   ` Bjorn Helgaas
2012-06-11 20:01     ` Yinghai Lu
2012-06-11 22:00       ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).