qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 284b08f] Fix Sparse warning about obsolete struct


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 284b08f] Fix Sparse warning about obsolete struct initializer
Date: Mon, 21 Sep 2009 19:55:07 -0000

From: Blue Swirl <address@hidden>

Signed-off-by: Blue Swirl <address@hidden>

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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]