diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-10-03 11:19:39 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-10-05 15:17:54 +0200 |
commit | da665c99f1b5d3247f7f9f8a24f3eb1fda94e1e4 (patch) | |
tree | 0c983b5a1bb02f5e02b862ff0b7e57f2b98a2776 /hw | |
parent | 4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (diff) |
hw: Add missing 'static' attribute for QEMUMachine
It was missing for leon3 and mips_fulong2e.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/leon3.c | 2 | ||||
-rw-r--r-- | hw/mips_fulong2e.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/leon3.c b/hw/leon3.c index 878d3aa557..7a9729dc28 100644 --- a/hw/leon3.c +++ b/hw/leon3.c @@ -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, diff --git a/hw/mips_fulong2e.c b/hw/mips_fulong2e.c index 38e4b86150..d4a8672f23 100644 --- a/hw/mips_fulong2e.c +++ b/hw/mips_fulong2e.c @@ -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, |