diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:25:08 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:47 +0200 |
commit | 3eadad551d3d5901b75f8c53dbd57b9bec2f2b01 (patch) | |
tree | 3e09bba95ebdee8621fde3463ad7cf91940b6718 /hw/dma/pl330.c | |
parent | 300b1fc68c47478f36705f23a93dce77ac3e429a (diff) | |
download | qemu-3eadad551d3d5901b75f8c53dbd57b9bec2f2b01.zip qemu-3eadad551d3d5901b75f8c53dbd57b9bec2f2b01.tar.gz qemu-3eadad551d3d5901b75f8c53dbd57b9bec2f2b01.tar.bz2 |
hw/d*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/dma/pl330.c')
-rw-r--r-- | hw/dma/pl330.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c index b366f8a..ddcc413 100644 --- a/hw/dma/pl330.c +++ b/hw/dma/pl330.c @@ -1528,7 +1528,8 @@ static void pl330_realize(DeviceState *dev, Error **errp) PL330State *s = PL330(dev); sysbus_init_irq(SYS_BUS_DEVICE(dev), &s->irq_abort); - memory_region_init_io(&s->iomem, NULL, &pl330_ops, s, "dma", PL330_IOMEM_SIZE); + memory_region_init_io(&s->iomem, OBJECT(s), &pl330_ops, s, + "dma", PL330_IOMEM_SIZE); sysbus_init_mmio(SYS_BUS_DEVICE(dev), &s->iomem); s->timer = qemu_new_timer_ns(vm_clock, pl330_exec_cycle_timer, s); |