diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:34:35 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:34:35 +0000 |
commit | 4b32e1688000d306a676b0a5b89629b9d8da1ed7 (patch) | |
tree | a25ab8696b3d8b8ccac8e753be21298422448f78 /hw/ppc_prep.c | |
parent | 0f431527b79fbd28fb9fcd898ff379331258354a (diff) |
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/ppc_prep.c')
-rw-r--r-- | hw/ppc_prep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 3c35d1783e..a955909eea 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -758,8 +758,8 @@ static void ppc_prep_init (ram_addr_t ram_size, int vga_ram_size, } QEMUMachine prep_machine = { - "prep", - "PowerPC PREP platform", - ppc_prep_init, - BIOS_SIZE + VGA_RAM_SIZE, + .name = "prep", + .desc = "PowerPC PREP platform", + .init = ppc_prep_init, + .ram_require = BIOS_SIZE + VGA_RAM_SIZE, }; |