audio: Move arch_init audio code to hw/audio/soundhw.c
commitca89f72092bdb42e077f2f64f417edad009ce0ef
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 8 May 2017 20:57:33 +0000 (8 17:57 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 19 May 2017 08:48:53 +0000 (19 10:48 +0200)
treeecc5a3714e3bcacd875655147540be20ae0401c2
parent56821559f0ba682fe6b367815572e6f974d329ab
audio: Move arch_init audio code to hw/audio/soundhw.c

There's no reason to keep the soundhw table in arch_init.c. Move
that code to a new hw/audio/soundhw.c file.

While moving the code, trivial coding style issues were fixed.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20170508205735.23444-2-ehabkost@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
arch_init.c
hw/audio/Makefile.objs
hw/audio/soundhw.c [copied from arch_init.c with 72% similarity]
hw/ppc/prep.c
include/hw/audio/audio.h
include/sysemu/arch_init.h
vl.c