
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>
14 lines
353 B
C
14 lines
353 B
C
#ifndef HW_AUDIO_H
|
|
#define HW_AUDIO_H
|
|
|
|
void isa_register_soundhw(const char *name, const char *descr,
|
|
int (*init_isa)(ISABus *bus));
|
|
|
|
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
|