Fix Sparse warning about obsolete struct initializer
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 21 Sep 2009 19:50:05 +0000 (19:50 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 21 Sep 2009 19:50:05 +0000 (19:50 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/mips_malta.c

index 4d72da87164b7d0403527f9057cc35d98f487090..e09e971b31e560c755c76cdfece8fbdfe8fe7ab9 100644 (file)
@@ -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,