mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
audio: remove the need for audio card CONFIG_* symbols
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1366303444-24620-3-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
8c444a1978
commit
36cd6f6f20
13 changed files with 62 additions and 144 deletions
|
@ -659,7 +659,7 @@ static int cs4231a_initfn (ISADevice *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int cs4231a_init (ISABus *bus)
|
||||
static int cs4231a_init (ISABus *bus)
|
||||
{
|
||||
isa_create_simple (bus, "cs4231a");
|
||||
return 0;
|
||||
|
@ -692,6 +692,7 @@ static const TypeInfo cs4231a_info = {
|
|||
static void cs4231a_register_types (void)
|
||||
{
|
||||
type_register_static (&cs4231a_info);
|
||||
isa_register_soundhw("cs4231a", "CS4231A", cs4231a_init);
|
||||
}
|
||||
|
||||
type_init (cs4231a_register_types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue