From: Konrad Rzeszutek Wilk Subject: [PATCH 2/8] [PCI]: Export pci_walk_bus function. Date: Tue, 22 Dec 2009 14:49:45 -0500 Message-ID: <1261511391-7022-3-git-send-email-konrad.wilk@oracle.com> References: <1261511391-7022-1-git-send-email-konrad.wilk@oracle.com> <1261511391-7022-2-git-send-email-konrad.wilk@oracle.com> Return-path: In-Reply-To: <1261511391-7022-2-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Jeremy Fitzhardinge , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org In preperation of modularizing Xen-pcifront the pci_walk_bus needs to be exported so that the xen-pcifront module can walk call the pci subsystem to walk the PCI devices and claim them. Acked-by: Jesse Barnes [http://marc.info/?l=linux-pci&m=126149958010298&w=2] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/pci/bus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index cef28a7..1940183 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -249,6 +249,7 @@ void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), up_read(&pci_bus_sem); } +EXPORT_SYMBOL_GPL(pci_walk_bus); EXPORT_SYMBOL(pci_bus_alloc_resource); EXPORT_SYMBOL_GPL(pci_bus_add_device); EXPORT_SYMBOL(pci_bus_add_devices); -- 1.6.2.5