diff options
| author | Andreas Färber | 2014-04-24 17:26:51 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-05-21 14:47:50 +0200 |
| commit | 7c8b7248261bfa5e54eff1715b699caa8b3f1d77 (patch) | |
| tree | 63022ed65beacd587d5d14e685f3a971fc5ffa4c /include | |
| parent | SMBIOS: Fix type 17 field sizes (diff) | |
| download | qemu-7c8b7248261bfa5e54eff1715b699caa8b3f1d77.tar.gz qemu-7c8b7248261bfa5e54eff1715b699caa8b3f1d77.tar.xz qemu-7c8b7248261bfa5e54eff1715b699caa8b3f1d77.zip | |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
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, |
