summaryrefslogtreecommitdiffstats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2012-02-15 22:32:00 +0100
committerMichael S. Tsirkin2012-03-15 16:04:58 +0100
commit94a09e2c846374a96719cda2b4e1312d8c4b08a7 (patch)
tree5050294feae0dbc402273e8cf03dff2eafdc7622 /hw/pci.h
parentpci_regs: Fix value of PCI_EXP_TYPE_RC_EC. (diff)
downloadqemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.tar.gz
qemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.tar.xz
qemu-94a09e2c846374a96719cda2b4e1312d8c4b08a7.zip
pci: don't export an internal function
Make an internal function, pci_parse_devaddr, static. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 4f19fdbd89..403aadb8f9 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -304,8 +304,6 @@ 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);
-int pci_parse_devaddr(const char *addr, int *domp, int *busp,
- unsigned int *slotp, unsigned int *funcp);
int pci_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp,
unsigned *slotp);