aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_malta.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-21 19:50:05 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-21 19:50:05 +0000
commit284b08f174967179233abe8e36c5859774e4b6a3 (patch)
tree3adb0ff3a1d843df384911fd80f06162a47bf90d /hw/mips_malta.c
parentd4fa8d909c03ae8fe2c43b8f1d92ea40f9de0e84 (diff)
downloadqemu-284b08f174967179233abe8e36c5859774e4b6a3.zip
qemu-284b08f174967179233abe8e36c5859774e4b6a3.tar.gz
qemu-284b08f174967179233abe8e36c5859774e4b6a3.tar.bz2
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 4d72da8..e09e971 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,