aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-02-19 18:16:02 +0200
committerMichael S. Tsirkin <mst@redhat.com>2012-03-15 17:04:58 +0200
commitd662210a440bf90bf0f5fb5eb8abd6244478c97d (patch)
treec87e5efb458096b4f7f6970af3ac9dc924ea102f /hw/pci.h
parent94a09e2c846374a96719cda2b4e1312d8c4b08a7 (diff)
pci: make another unused extern function static
Make pci_find_bus static and rename to pci_find_bus_nr to match functionality. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 403aadb8f9..704d3f3b44 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -299,7 +299,6 @@ int pci_bus_num(PCIBus *s);
void pci_for_each_device(PCIBus *bus, int bus_num, void (*fn)(PCIBus *bus, PCIDevice *d));
PCIBus *pci_find_root_bus(int domain);
int pci_find_domain(const PCIBus *bus);
-PCIBus *pci_find_bus(PCIBus *bus, int bus_num);
PCIDevice *pci_find_device(PCIBus *bus, int bus_num, uint8_t devfn);
int pci_qdev_find_device(const char *id, PCIDevice **pdev);
PCIBus *pci_get_bus_devfn(int *devfnp, const char *devaddr);