aboutsummaryrefslogtreecommitdiff
path: root/hw/es1370.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-05-14 03:11:35 +0400
committermalc <av1474@comtv.ru>2009-05-14 03:20:43 +0400
commit1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch)
tree6b83da7787156494d16c58e2d5a41396a01a964f /hw/es1370.c
parentb36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff)
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/es1370.c')
-rw-r--r--hw/es1370.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/es1370.c b/hw/es1370.c
index 99ee208a49..6589547167 100644
--- a/hw/es1370.c
+++ b/hw/es1370.c
@@ -1007,7 +1007,6 @@ static void es1370_on_reset (void *opaque)
int es1370_init (PCIBus *bus)
{
- AudioState *audio = AUD_init();
PCIES1370State *d;
ES1370State *s;
uint8_t *c;
@@ -1058,7 +1057,7 @@ int es1370_init (PCIBus *bus)
register_savevm ("es1370", 0, 2, es1370_save, es1370_load, s);
qemu_register_reset (es1370_on_reset, s);
- AUD_register_card (audio, "es1370", &s->card);
+ AUD_register_card ("es1370", &s->card);
es1370_reset (s);
return 0;
}