mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -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
|
@ -1051,7 +1051,7 @@ static void es1370_exitfn (PCIDevice *dev)
|
|||
memory_region_destroy (&s->io);
|
||||
}
|
||||
|
||||
int es1370_init (PCIBus *bus)
|
||||
static int es1370_init (PCIBus *bus)
|
||||
{
|
||||
pci_create_simple (bus, -1, "ES1370");
|
||||
return 0;
|
||||
|
@ -1083,6 +1083,7 @@ static const TypeInfo es1370_info = {
|
|||
static void es1370_register_types (void)
|
||||
{
|
||||
type_register_static (&es1370_info);
|
||||
pci_register_soundhw("es1370", "ENSONIQ AudioPCI ES1370", es1370_init);
|
||||
}
|
||||
|
||||
type_init (es1370_register_types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue