summaryrefslogtreecommitdiff
path: root/hw/omap2.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/omap2.c
parentb36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff)
downloadqemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.gz
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.bz2
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.zip
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/omap2.c')
-rw-r--r--hw/omap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index 82ea618d33..8aaa9c9959 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -1973,7 +1973,7 @@ struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
omap_eac_reset(s);
#ifdef HAS_AUDIO
- AUD_register_card(AUD_init(), "OMAP EAC", &s->codec.card);
+ AUD_register_card("OMAP EAC", &s->codec.card);
iomemtype = cpu_register_io_memory(0, omap_eac_readfn,
omap_eac_writefn, s);