summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2014-04-24 17:26:51 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-05-21 15:47:50 +0300
commit7c8b7248261bfa5e54eff1715b699caa8b3f1d77 (patch)
tree63022ed65beacd587d5d14e685f3a971fc5ffa4c /include
parent0d73394ad93aa12755316b3a90b3193aeeb95f90 (diff)
downloadhqemu-7c8b7248261bfa5e54eff1715b699caa8b3f1d77.zip
hqemu-7c8b7248261bfa5e54eff1715b699caa8b3f1d77.tar.gz
pcie_host: Turn pcie_host_init() into an instance_init
This assures the trivial field initialization is applied for any derived type - currently only Q35PCIHost. Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/pci/pcie_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/pci/pcie_host.h b/include/hw/pci/pcie_host.h
index acca45e..ff44ef6 100644
--- a/include/hw/pci/pcie_host.h
+++ b/include/hw/pci/pcie_host.h
@@ -49,7 +49,6 @@ struct PCIExpressHost {
MemoryRegion mmio;
};
-int pcie_host_init(PCIExpressHost *e);
void pcie_host_mmcfg_unmap(PCIExpressHost *e);
void pcie_host_mmcfg_map(PCIExpressHost *e, hwaddr addr, uint32_t size);
void pcie_host_mmcfg_update(PCIExpressHost *e,
OpenPOWER on IntegriCloud