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 | 64bde0f3e7170cc8a9b60da835b9b3cefd03a7a5 (patch) | |
tree | f6f07f44453620ddeab4a1251887357eeca7587f /hw/audio/marvell_88w8618.c | |
parent | db10ca9057b11222408f708d5d99a3888eca4feb (diff) | |
download | hqemu-64bde0f3e7170cc8a9b60da835b9b3cefd03a7a5.zip hqemu-64bde0f3e7170cc8a9b60da835b9b3cefd03a7a5.tar.gz |
hw/a*: pass owner to memory_region_init* functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/audio/marvell_88w8618.c')
-rw-r--r-- | hw/audio/marvell_88w8618.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/marvell_88w8618.c b/hw/audio/marvell_88w8618.c index e04e932..b40ea43 100644 --- a/hw/audio/marvell_88w8618.c +++ b/hw/audio/marvell_88w8618.c @@ -244,7 +244,7 @@ static int mv88w8618_audio_init(SysBusDevice *dev) wm8750_data_req_set(s->wm, mv88w8618_audio_callback, s); - memory_region_init_io(&s->iomem, NULL, &mv88w8618_audio_ops, s, + memory_region_init_io(&s->iomem, OBJECT(s), &mv88w8618_audio_ops, s, "audio", MP_AUDIO_SIZE); sysbus_init_mmio(dev, &s->iomem); |