summaryrefslogtreecommitdiffstats
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorBlue Swirl2009-09-21 21:50:05 +0200
committerBlue Swirl2009-09-21 21:50:05 +0200
commit284b08f174967179233abe8e36c5859774e4b6a3 (patch)
tree3adb0ff3a1d843df384911fd80f06162a47bf90d /hw/mips_malta.c
parentExport tables properly to avoid a Sparse warning (diff)
downloadqemu-284b08f174967179233abe8e36c5859774e4b6a3.tar.gz
qemu-284b08f174967179233abe8e36c5859774e4b6a3.tar.xz
qemu-284b08f174967179233abe8e36c5859774e4b6a3.zip
Fix Sparse warning about obsolete struct initializer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/mips_malta.c')
-rw-r--r--hw/mips_malta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 4d72da8716..e09e971b31 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -132,7 +132,7 @@ struct _eeprom24c0x_t {
typedef struct _eeprom24c0x_t eeprom24c0x_t;
static eeprom24c0x_t eeprom = {
- contents: {
+ .contents = {
/* 00000000: */ 0x80,0x08,0x04,0x0D,0x0A,0x01,0x40,0x00,
/* 00000008: */ 0x01,0x75,0x54,0x00,0x82,0x08,0x00,0x01,
/* 00000010: */ 0x8F,0x04,0x02,0x01,0x01,0x00,0x0E,0x00,