]> git.proxmox.com Git - qemu.git/blobdiff - hw/pci/pcie_host.c
memory: add owner argument to initialization functions
[qemu.git] / hw / pci / pcie_host.c
index b2d942bce1b59b72bce54bed06715670644f8956..26f2007fd5109895346ca2aa2522fece20845d79 100644 (file)
@@ -130,7 +130,7 @@ void pcie_host_mmcfg_map(PCIExpressHost *e, hwaddr addr,
     assert(size >= PCIE_MMCFG_SIZE_MIN);
     assert(size <= PCIE_MMCFG_SIZE_MAX);
     e->size = size;
-    memory_region_init_io(&e->mmio, &pcie_mmcfg_ops, e, "pcie-mmcfg", e->size);
+    memory_region_init_io(&e->mmio, NULL, &pcie_mmcfg_ops, e, "pcie-mmcfg", e->size);
     e->base_addr = addr;
     memory_region_add_subregion(get_system_memory(), e->base_addr, &e->mmio);
 }