summaryrefslogtreecommitdiff
path: root/hw/es1370.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-08-24 15:18:12 +0400
committermalc <av1474@comtv.ru>2009-08-24 15:18:40 +0400
commitb6f6d0e2f83e52f21a4dce9476d794ed279b900e (patch)
tree58d27c66d261ec326dc2ec100fa6aeed74e80fdf /hw/es1370.c
parente5944641ababff7efb2b15b50462749bc5756558 (diff)
Restore consistent formatting
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/es1370.c')
-rw-r--r--hw/es1370.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/es1370.c b/hw/es1370.c
index bdb4c7c9a..305b6e738 100644
--- a/hw/es1370.c
+++ b/hw/es1370.c
@@ -909,7 +909,7 @@ static void es1370_adc_callback (void *opaque, int avail)
static void es1370_map (PCIDevice *pci_dev, int region_num,
uint32_t addr, uint32_t size, int type)
{
- ES1370State *s = DO_UPCAST(ES1370State, dev, pci_dev);
+ ES1370State *s = DO_UPCAST (ES1370State, dev, pci_dev);
(void) region_num;
(void) size;
@@ -998,9 +998,9 @@ static void es1370_on_reset (void *opaque)
es1370_reset (s);
}
-static void es1370_initfn(PCIDevice *dev)
+static void es1370_initfn (PCIDevice *dev)
{
- ES1370State *s = DO_UPCAST(ES1370State, dev, dev);
+ ES1370State *s = DO_UPCAST (ES1370State, dev, dev);
uint8_t *c = s->dev.config;
pci_config_set_vendor_id (c, PCI_VENDOR_ID_ENSONIQ);
@@ -1037,7 +1037,7 @@ static void es1370_initfn(PCIDevice *dev)
int es1370_init (PCIBus *bus)
{
- pci_create_simple(bus, -1, "ES1370");
+ pci_create_simple (bus, -1, "ES1370");
return 0;
}
@@ -1048,7 +1048,7 @@ static PCIDeviceInfo es1370_info = {
.init = es1370_initfn,
};
-static void es1370_register(void)
+static void es1370_register (void)
{
pci_qdev_register (&es1370_info);
}