summaryrefslogtreecommitdiffstats
path: root/hw/intc/puv3_intc.c
diff options
context:
space:
mode:
authorPaolo Bonzini2013-06-07 03:25:08 +0200
committerPaolo Bonzini2013-07-04 17:42:48 +0200
commit1437c94b2689c2010362f84d14f14feaa1d8dba3 (patch)
treebd4b6f471dd28369663606a2a1831b92787b74d1 /hw/intc/puv3_intc.c
parenthw/gpio: pass owner to memory_region_init* functions (diff)
downloadqemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.tar.gz
qemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.tar.xz
qemu-1437c94b2689c2010362f84d14f14feaa1d8dba3.zip
hw/i*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc/puv3_intc.c')
-rw-r--r--hw/intc/puv3_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/puv3_intc.c b/hw/intc/puv3_intc.c
index b327f0e8d7..44b66517f9 100644
--- a/hw/intc/puv3_intc.c
+++ b/hw/intc/puv3_intc.c
@@ -106,7 +106,7 @@ static int puv3_intc_init(SysBusDevice *dev)
s->reg_ICMR = 0;
s->reg_ICPR = 0;
- memory_region_init_io(&s->iomem, NULL, &puv3_intc_ops, s, "puv3_intc",
+ memory_region_init_io(&s->iomem, OBJECT(s), &puv3_intc_ops, s, "puv3_intc",
PUV3_REGS_OFFSET);
sysbus_init_mmio(dev, &s->iomem);