diff options
author | malc <av1474@comtv.ru> | 2009-05-14 03:11:35 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-05-14 03:20:43 +0400 |
commit | 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch) | |
tree | 6b83da7787156494d16c58e2d5a41396a01a964f /hw/wm8750.c | |
parent | b36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff) |
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/wm8750.c')
-rw-r--r-- | hw/wm8750.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/wm8750.c b/hw/wm8750.c index 3a428c6221..bb5106dca5 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -647,14 +647,13 @@ static int wm8750_load(QEMUFile *f, void *opaque, int version_id) 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; s->i2c.recv = wm8750_rx; s->i2c.send = wm8750_tx; - AUD_register_card(audio, CODEC, &s->card); + AUD_register_card(CODEC, &s->card); wm8750_reset(&s->i2c); register_savevm(CODEC, -1, 0, wm8750_save, wm8750_load, s); |