summaryrefslogtreecommitdiff
path: root/hw/mips_jazz.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-12 12:33:04 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-12 12:33:04 +0100
commit22d83b140e7b2dda555b7e3035050454f8764b7f (patch)
treeb80cd7f2cbae7951323871218db3772dd8b3b8c7 /hw/mips_jazz.c
parent0d9acba8fddbf970c7353083e6a60b47017ce3e4 (diff)
downloadqemu-22d83b140e7b2dda555b7e3035050454f8764b7f.tar.gz
Push AUD_init down to devices
Now we can safely call AUD_init multiple times we can push it down to individual audio devices, rather than having to pass it from the board init. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/mips_jazz.c')
-rw-r--r--hw/mips_jazz.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c
index 3734aa918e..5ea4bba8cc 100644
--- a/hw/mips_jazz.c
+++ b/hw/mips_jazz.c
@@ -104,13 +104,10 @@ static void audio_init(qemu_irq *pic)
}
if (audio_enabled) {
- AudioState *s;
-
- s = AUD_init();
for (c = soundhw; c->name; ++c) {
if (c->enabled) {
if (c->isa) {
- c->init.init_isa(s, pic);
+ c->init.init_isa(pic);
}
}
}