pci: Move pci_read_devaddr to pci-hotplug-old.c
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 6 Jun 2013 08:48:46 +0000 (18:48 +1000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2013 07:45:31 +0000 (10:45 +0300)
commit6ac363b50c569815786a795d806e068b3f6a07eb
tree7db15e73a59a2680ca985b48cbb685892aadec5c
parent79ca616f291124d166ca173e512c4ace1c2fe8b2
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>
hw/pci/pci-hotplug-old.c
hw/pci/pci.c
include/hw/pci/pci.h