Revision 36cd6f6f hw/audio/ac97.c
b/hw/audio/ac97.c | ||
---|---|---|
1396 | 1396 |
memory_region_destroy (&s->io_nabm); |
1397 | 1397 |
} |
1398 | 1398 |
|
1399 |
int ac97_init (PCIBus *bus) |
|
1399 |
static int ac97_init (PCIBus *bus)
|
|
1400 | 1400 |
{ |
1401 | 1401 |
pci_create_simple (bus, -1, "AC97"); |
1402 | 1402 |
return 0; |
... | ... | |
1433 | 1433 |
static void ac97_register_types (void) |
1434 | 1434 |
{ |
1435 | 1435 |
type_register_static (&ac97_info); |
1436 |
pci_register_soundhw("ac97", "Intel 82801AA AC97 Audio", ac97_init); |
|
1436 | 1437 |
} |
1437 | 1438 |
|
1438 | 1439 |
type_init (ac97_register_types) |
Also available in: Unified diff