aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/marvell_88w8618.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/marvell_88w8618.c')
-rw-r--r--hw/audio/marvell_88w8618.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/marvell_88w8618.c b/hw/audio/marvell_88w8618.c
index c5d88a7841..b40ea43c6c 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, &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);