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 | 2977673992b7d363d0f402ee7c4217795fe13809 (patch) | |
tree | 194579c1bf293b2c5ba1c298d91e390756d666ba /hw/ssi/pl022.c | |
parent | 40c5dce99bac2d1d5f240c8c8ec53dc23ea46a89 (diff) |
hw/s*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ssi/pl022.c')
-rw-r--r-- | hw/ssi/pl022.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/pl022.c b/hw/ssi/pl022.c index ab569d6976..711a0c17ab 100644 --- a/hw/ssi/pl022.c +++ b/hw/ssi/pl022.c @@ -277,7 +277,7 @@ static int pl022_init(SysBusDevice *dev) { pl022_state *s = FROM_SYSBUS(pl022_state, dev); - memory_region_init_io(&s->iomem, NULL, &pl022_ops, s, "pl022", 0x1000); + memory_region_init_io(&s->iomem, OBJECT(s), &pl022_ops, s, "pl022", 0x1000); sysbus_init_mmio(dev, &s->iomem); sysbus_init_irq(dev, &s->irq); s->ssi = ssi_create_bus(&dev->qdev, "ssi"); |