diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2017-05-08 17:57:33 -0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-19 10:48:53 +0200 |
commit | ca89f72092bdb42e077f2f64f417edad009ce0ef (patch) | |
tree | ecc5a3714e3bcacd875655147540be20ae0401c2 /include/hw/audio | |
parent | 56821559f0ba682fe6b367815572e6f974d329ab (diff) | |
download | qemu-ca89f72092bdb42e077f2f64f417edad009ce0ef.zip qemu-ca89f72092bdb42e077f2f64f417edad009ce0ef.tar.gz qemu-ca89f72092bdb42e077f2f64f417edad009ce0ef.tar.bz2 |
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>
Diffstat (limited to 'include/hw/audio')
-rw-r--r-- | include/hw/audio/audio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/audio/audio.h b/include/hw/audio/audio.h index 55d40f7..259bb2c 100644 --- a/include/hw/audio/audio.h +++ b/include/hw/audio/audio.h @@ -7,4 +7,7 @@ void isa_register_soundhw(const char *name, const char *descr, void pci_register_soundhw(const char *name, const char *descr, int (*init_pci)(PCIBus *bus)); +void audio_init(void); +void select_soundhw(const char *optarg); + #endif |