mixer_reset (s);
}
-static void ac97_initfn(PCIDevice *dev)
+static void ac97_initfn (PCIDevice *dev)
{
- PCIAC97LinkState *d = DO_UPCAST(PCIAC97LinkState, dev, dev);
+ PCIAC97LinkState *d = DO_UPCAST (PCIAC97LinkState, dev, dev);
AC97LinkState *s = &d->ac97;
uint8_t *c = d->dev.config;
int ac97_init (PCIBus *bus)
{
- pci_create_simple(bus, -1, "AC97");
+ pci_create_simple (bus, -1, "AC97");
return 0;
}
static PCIDeviceInfo ac97_info = {
.qdev.name = "AC97",
- .qdev.size = sizeof(PCIAC97LinkState),
+ .qdev.size = sizeof (PCIAC97LinkState),
.init = ac97_initfn,
};
-static void ac97_register(void)
+static void ac97_register (void)
{
- pci_qdev_register(&ac97_info);
+ pci_qdev_register (&ac97_info);
}
-device_init(ac97_register);
+device_init (ac97_register);
static PCIDeviceInfo es1370_info = {
.qdev.name = "ES1370",
- .qdev.size = sizeof(PCIES1370State),
+ .qdev.size = sizeof (PCIES1370State),
.init = es1370_initfn,
};
static void es1370_register(void)
{
- pci_qdev_register(&es1370_info);
+ pci_qdev_register (&es1370_info);
}
-device_init(es1370_register);
+device_init (es1370_register);