diff options
Diffstat (limited to 'hw/marvell_88w8618_audio.c')
-rw-r--r-- | hw/marvell_88w8618_audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/marvell_88w8618_audio.c b/hw/marvell_88w8618_audio.c index d6be2e7435..1c68da3c7b 100644 --- a/hw/marvell_88w8618_audio.c +++ b/hw/marvell_88w8618_audio.c @@ -233,7 +233,7 @@ static CPUWriteMemoryFunc * const mv88w8618_audio_writefn[] = { mv88w8618_audio_write }; -static void mv88w8618_audio_init(SysBusDevice *dev) +static int mv88w8618_audio_init(SysBusDevice *dev) { mv88w8618_audio_state *s = FROM_SYSBUS(mv88w8618_audio_state, dev); int iomemtype; @@ -247,6 +247,8 @@ static void mv88w8618_audio_init(SysBusDevice *dev) sysbus_init_mmio(dev, MP_AUDIO_SIZE, iomemtype); qemu_register_reset(mv88w8618_audio_reset, s); + + return 0; } static SysBusDeviceInfo mv88w8618_audio_info = { |