mirror of https://github.com/xemu-project/xemu.git
hw/mips/gt64xxx_pci: Fix 'spaces' coding style issues
Since we'll move this code around, fix its style first: ERROR: space prohibited between function name and open parenthesis ERROR: line over 90 characters Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Message-Id: <20190624222844.26584-5-f4bug@amsat.org>
This commit is contained in:
parent
5353965544
commit
b61104b228
|
@ -384,7 +384,7 @@ static const VMStateDescription vmstate_gt64120 = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static void gt64120_writel (void *opaque, hwaddr addr,
|
static void gt64120_writel(void *opaque, hwaddr addr,
|
||||||
uint64_t val, unsigned size)
|
uint64_t val, unsigned size)
|
||||||
{
|
{
|
||||||
GT64120State *s = opaque;
|
GT64120State *s = opaque;
|
||||||
|
@ -671,7 +671,7 @@ static void gt64120_writel (void *opaque, hwaddr addr,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t gt64120_readl (void *opaque,
|
static uint64_t gt64120_readl(void *opaque,
|
||||||
hwaddr addr, unsigned size)
|
hwaddr addr, unsigned size)
|
||||||
{
|
{
|
||||||
GT64120State *s = opaque;
|
GT64120State *s = opaque;
|
||||||
|
@ -1193,7 +1193,8 @@ PCIBus *gt64120_register(qemu_irq *pic)
|
||||||
get_system_io(),
|
get_system_io(),
|
||||||
PCI_DEVFN(18, 0), 4, TYPE_PCI_BUS);
|
PCI_DEVFN(18, 0), 4, TYPE_PCI_BUS);
|
||||||
qdev_init_nofail(dev);
|
qdev_init_nofail(dev);
|
||||||
memory_region_init_io(&d->ISD_mem, OBJECT(dev), &isd_mem_ops, d, "isd-mem", 0x1000);
|
memory_region_init_io(&d->ISD_mem, OBJECT(dev), &isd_mem_ops, d,
|
||||||
|
"isd-mem", 0x1000);
|
||||||
|
|
||||||
pci_create_simple(phb->bus, PCI_DEVFN(0, 0), "gt64120_pci");
|
pci_create_simple(phb->bus, PCI_DEVFN(0, 0), "gt64120_pci");
|
||||||
return phb->bus;
|
return phb->bus;
|
||||||
|
|
Loading…
Reference in New Issue