aboutsummaryrefslogtreecommitdiff
path: root/hw/es1370.c
diff options
context:
space:
mode:
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;
}