hw: Add missing 'static' attribute for QEMUMachine
PATCH 1/1 hw: Add missing 'static' attribute for QEMUMachine
It was missing for leon3 and mips_fulong2e.
Signed-off-by Stefan Weil <[email protected]>
--- hw/leon3.c | 2 +- hw/mips/mips_fulong2e.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
hw/leon3.c +1 -1
@@ -210,7 +210,7 @@ static void leon3_generic_hw_init(ram_addr_t ram_size, } } -QEMUMachine leon3_generic_machine = { +static QEMUMachine leon3_generic_machine = { .name ="leon3_generic" , .desc ="Leon-3 generic" , .init = leon3_generic_hw_init,
hw/mips/mips_fulong2e.c +1 -1
@@ -392,7 +392,7 @@ static void mips_fulong2e_init(ram_addr_t ram_size, const char *boot_device,network_init (); } -QEMUMachine mips_fulong2e_machine = { +static QEMUMachine mips_fulong2e_machine = { .name ="fulong2e" , .desc ="Fulong 2e mini pc" , .init = mips_fulong2e_init,
Signature · 1 line
1.7.10
Am 03.10.2012 11:19, schrieb Stefan Weil:
Quoted 3 lines
It was missing for leon3 and
mips_fulong2e.Signed-off-by Stefan Weil <[email protected]>
Reviewed-by Andreas Färber <[email protected]>
/-F
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Stefan Hajnoczi
AppliedQuoted 6 lines · Stefan Weil
It was missing for leon3 and
mips_fulong2e.Signed-off-by Stefan Weil <[email protected]>--- hw/leon3.c | 2 +- hw/mips/mips_fulong2e.c | 2 +-
This file doesn't exist in my tree (based on qemu.git/master a14c74928ba1fdaada515717f4d3c3fa3275d6f7). I have modified it to hw/mips_fulong2e.c.
Quoted 1 line
2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan