From 284b08f174967179233abe8e36c5859774e4b6a3 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 21 Sep 2009 19:50:05 +0000 Subject: [PATCH] Fix Sparse warning about obsolete struct initializer Signed-off-by: Blue Swirl --- hw/mips_malta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.4.GIT