summary refs log tree commit diff stats
path: root/hw/ac97.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-07-10 15:32:03 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-10 15:32:03 -0500
commit0c3271c558cf853171b213a73d1c24394f77c7a2 (patch)
tree94429c7ca5ff20122547a3efdc711a8ea7d66f5c /hw/ac97.c
parent36afc451599175eb8f03f1962de74e7f7a8af4db (diff)
downloadfocaccia-qemu-0c3271c558cf853171b213a73d1c24394f77c7a2.tar.gz
focaccia-qemu-0c3271c558cf853171b213a73d1c24394f77c7a2.zip
Indent ac97 and es1370 according to audio formatting
For the sake of consistency.  I pulled in the wrong patches from Gerd when
he did the qdev conversion.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ac97.c')
-rw-r--r--hw/ac97.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/ac97.c b/hw/ac97.c
index 37aca9e89f..f18fa524f4 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -1308,9 +1308,9 @@ static void ac97_on_reset (void *opaque)
     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;
 
@@ -1360,19 +1360,19 @@ static void ac97_initfn(PCIDevice *dev)
 
 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);