Commit 0c3271c558cf853171b213a73d1c24394f77c7a2

Authored by Anthony Liguori
1 parent 36afc451

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>
Showing 2 changed files with 10 additions and 10 deletions
hw/ac97.c
... ... @@ -1308,9 +1308,9 @@ static void ac97_on_reset (void *opaque)
1308 1308 mixer_reset (s);
1309 1309 }
1310 1310  
1311   -static void ac97_initfn(PCIDevice *dev)
  1311 +static void ac97_initfn (PCIDevice *dev)
1312 1312 {
1313   - PCIAC97LinkState *d = DO_UPCAST(PCIAC97LinkState, dev, dev);
  1313 + PCIAC97LinkState *d = DO_UPCAST (PCIAC97LinkState, dev, dev);
1314 1314 AC97LinkState *s = &d->ac97;
1315 1315 uint8_t *c = d->dev.config;
1316 1316  
... ... @@ -1360,19 +1360,19 @@ static void ac97_initfn(PCIDevice *dev)
1360 1360  
1361 1361 int ac97_init (PCIBus *bus)
1362 1362 {
1363   - pci_create_simple(bus, -1, "AC97");
  1363 + pci_create_simple (bus, -1, "AC97");
1364 1364 return 0;
1365 1365 }
1366 1366  
1367 1367 static PCIDeviceInfo ac97_info = {
1368 1368 .qdev.name = "AC97",
1369   - .qdev.size = sizeof(PCIAC97LinkState),
  1369 + .qdev.size = sizeof (PCIAC97LinkState),
1370 1370 .init = ac97_initfn,
1371 1371 };
1372 1372  
1373   -static void ac97_register(void)
  1373 +static void ac97_register (void)
1374 1374 {
1375   - pci_qdev_register(&ac97_info);
  1375 + pci_qdev_register (&ac97_info);
1376 1376 }
1377   -device_init(ac97_register);
  1377 +device_init (ac97_register);
1378 1378  
... ...
hw/es1370.c
... ... @@ -1054,13 +1054,13 @@ int es1370_init (PCIBus *bus)
1054 1054  
1055 1055 static PCIDeviceInfo es1370_info = {
1056 1056 .qdev.name = "ES1370",
1057   - .qdev.size = sizeof(PCIES1370State),
  1057 + .qdev.size = sizeof (PCIES1370State),
1058 1058 .init = es1370_initfn,
1059 1059 };
1060 1060  
1061 1061 static void es1370_register(void)
1062 1062 {
1063   - pci_qdev_register(&es1370_info);
  1063 + pci_qdev_register (&es1370_info);
1064 1064 }
1065   -device_init(es1370_register);
  1065 +device_init (es1370_register);
1066 1066  
... ...