diff options
| author | David Gibson | 2013-06-06 10:48:46 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2013-07-04 09:45:31 +0200 |
| commit | 6ac363b50c569815786a795d806e068b3f6a07eb (patch) | |
| tree | 7db15e73a59a2680ca985b48cbb685892aadec5c /include | |
| parent | pci: Cleanup configuration for pci-hotplug.c (diff) | |
| download | qemu-6ac363b50c569815786a795d806e068b3f6a07eb.tar.gz qemu-6ac363b50c569815786a795d806e068b3f6a07eb.tar.xz qemu-6ac363b50c569815786a795d806e068b3f6a07eb.zip | |
pci: Move pci_read_devaddr to pci-hotplug-old.c
pci_read_devaddr() is only used by the legacy functions for the old PCI
hotplug interface in pci-hotplug-old.c. So we move the function there,
and make it static.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/pci/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 6ef1f97393..b5edef832e 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -395,8 +395,8 @@ 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_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp, - unsigned *slotp); +int pci_parse_devaddr(const char *addr, int *domp, int *busp, + unsigned int *slotp, unsigned int *funcp); void pci_device_deassert_intx(PCIDevice *dev); |
