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:48 +0200 |
commit | 3c16154210ce6277bee553e72f7c7b2b2fecefbf (patch) | |
tree | 064740d1798b5970dba5160bea48b0a59f8f02dc /hw/misc/milkymist-pfpu.c | |
parent | 1437c94b2689c2010362f84d14f14feaa1d8dba3 (diff) | |
download | qemu-3c16154210ce6277bee553e72f7c7b2b2fecefbf.zip |
hw/m*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/milkymist-pfpu.c')
-rw-r--r-- | hw/misc/milkymist-pfpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/milkymist-pfpu.c b/hw/misc/milkymist-pfpu.c index 0051bc955b..2b64ee77d8 100644 --- a/hw/misc/milkymist-pfpu.c +++ b/hw/misc/milkymist-pfpu.c @@ -497,7 +497,7 @@ static int milkymist_pfpu_init(SysBusDevice *dev) sysbus_init_irq(dev, &s->irq); - memory_region_init_io(&s->regs_region, NULL, &pfpu_mmio_ops, s, + memory_region_init_io(&s->regs_region, OBJECT(dev), &pfpu_mmio_ops, s, "milkymist-pfpu", MICROCODE_END * 4); sysbus_init_mmio(dev, &s->regs_region); |