diff options
Diffstat (limited to 'hw/wm8750.c')
-rw-r--r-- | hw/wm8750.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/wm8750.c b/hw/wm8750.c index 7086a79988..3a428c6221 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -645,8 +645,9 @@ static int wm8750_load(QEMUFile *f, void *opaque, int version_id) return 0; } -i2c_slave *wm8750_init(i2c_bus *bus, AudioState *audio) +i2c_slave *wm8750_init(i2c_bus *bus) { + AudioState *audio = AUD_init(); WM8750State *s = (WM8750State *) i2c_slave_init(bus, 0, sizeof(WM8750State)); s->i2c.event = wm8750_event; |