From 22d83b140e7b2dda555b7e3035050454f8764b7f Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 12 May 2009 12:33:04 +0100 Subject: 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 --- hw/omap2.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/omap2.c') diff --git a/hw/omap2.c b/hw/omap2.c index 1cbbf4977b..82ea618d33 100644 --- a/hw/omap2.c +++ b/hw/omap2.c @@ -1973,7 +1973,6 @@ struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta, omap_eac_reset(s); #ifdef HAS_AUDIO - /* TODO: do AUD_init globally for machine */ AUD_register_card(AUD_init(), "OMAP EAC", &s->codec.card); iomemtype = cpu_register_io_memory(0, omap_eac_readfn, -- cgit v1.2.3