diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2009-12-22 14:49:45 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-10-18 10:49:32 -0400 |
commit | 7c94def89aa5091706e03b98047c074d7ac74af0 (patch) | |
tree | 564a390f24ec1ad25147219c25b2a5925683a61b | |
parent | 5ee01f49c963d5e0b530344f86535ecb7f672064 (diff) |
x86/PCI: Export pci_walk_bus function.
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.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> [http://marc.info/?l=linux-pci&m=126149958010298&w=2]
-rw-r--r-- | 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 7f0af0e9b826..69546e9213dd 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
@@ -299,6 +299,7 @@ void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), | |||
299 | } | 299 | } |
300 | up_read(&pci_bus_sem); | 300 | up_read(&pci_bus_sem); |
301 | } | 301 | } |
302 | EXPORT_SYMBOL_GPL(pci_walk_bus); | ||
302 | 303 | ||
303 | EXPORT_SYMBOL(pci_bus_alloc_resource); | 304 | EXPORT_SYMBOL(pci_bus_alloc_resource); |
304 | EXPORT_SYMBOL_GPL(pci_bus_add_device); | 305 | EXPORT_SYMBOL_GPL(pci_bus_add_device); |