summaryrefslogtreecommitdiff
path: root/hw/r2d.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/r2d.c
parent0f431527b79fbd28fb9fcd898ff379331258354a (diff)
downloadqemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.gz
qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.bz2
qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.zip
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/r2d.c')
-rw-r--r--hw/r2d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/r2d.c b/hw/r2d.c
index a7607d113b..855aa414ff 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -164,8 +164,8 @@ static void r2d_init(ram_addr_t ram_size, int vga_ram_size,
}
QEMUMachine r2d_machine = {
- "r2d",
- "r2d-plus board",
- r2d_init,
- SDRAM_SIZE | RAMSIZE_FIXED
+ .name = "r2d",
+ .desc = "r2d-plus board",
+ .init = r2d_init,
+ .ram_require = SDRAM_SIZE | RAMSIZE_FIXED,
};