From 7c8b7248261bfa5e54eff1715b699caa8b3f1d77 Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Thu, 24 Apr 2014 17:26:51 +0200 Subject: 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/pci/pcie_host.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/hw/pci/pcie_host.h b/include/hw/pci/pcie_host.h index acca45ed58..ff44ef6fca 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, -- cgit v1.2.3-55-g7522