diff options
Diffstat (limited to 'hw/intc/openpic.c')
-rw-r--r-- | hw/intc/openpic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index a26c641699..b9e025ffd2 100644 --- a/hw/intc/openpic.c +++ b/hw/intc/openpic.c @@ -1516,7 +1516,7 @@ static void map_list(OpenPICState *opp, const MemReg *list, int *count) while (list->name) { assert(*count < ARRAY_SIZE(opp->sub_io_mem)); - memory_region_init_io(&opp->sub_io_mem[*count], list->ops, opp, + memory_region_init_io(&opp->sub_io_mem[*count], NULL, list->ops, opp, list->name, list->size); memory_region_add_subregion(&opp->mem, list->start_addr, @@ -1531,7 +1531,7 @@ static void openpic_init(Object *obj) { OpenPICState *opp = OPENPIC(obj); - memory_region_init(&opp->mem, "openpic", 0x40000); + memory_region_init(&opp->mem, NULL, "openpic", 0x40000); } static void openpic_realize(DeviceState *dev, Error **errp) |