aboutsummaryrefslogtreecommitdiff
path: root/hw/mainstone.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-07 20:34:35 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-07 20:34:35 +0000
commit4b32e1688000d306a676b0a5b89629b9d8da1ed7 (patch)
treea25ab8696b3d8b8ccac8e753be21298422448f78 /hw/mainstone.c
parent0f431527b79fbd28fb9fcd898ff379331258354a (diff)
downloadqemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.zip
qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.gz
qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.bz2
machine struct - use C99 initializers (Jes Sorensen)
Modify all the machine struct declarations to use C99 initializers. This patch has no functional changes. Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5442 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mainstone.c')
-rw-r--r--hw/mainstone.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c
index 3de25d8..52485ce 100644
--- a/hw/mainstone.c
+++ b/hw/mainstone.c
@@ -144,9 +144,9 @@ static void mainstone_init(ram_addr_t ram_size, int vga_ram_size,
}
QEMUMachine mainstone2_machine = {
- "mainstone",
- "Mainstone II (PXA27x)",
- mainstone_init,
- (MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH +
- PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
+ .name = "mainstone",
+ .desc = "Mainstone II (PXA27x)",
+ .init = mainstone_init,
+ .ram_require = (MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH +
+ PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
};