applied patch 11-sparse-fix--use-C99-struct-initializer.diff
[yaffs2.git] / mtdemul / nandemul2k.c
index f3c1c9a853c2377f4e5476d4c493ed4fe0cc1e40..e5217b054ff4c758ec26a334c5f6f86c5e1c8214 100644 (file)
@@ -650,9 +650,9 @@ __setup("sizeInMB=",sizeInMB);
 
 static struct mtd_partition nandemul2k_partition[] =
 {
-       { name: "NANDemul partition 1",
-         offset:  0,
-         size: 0 },
+       { .name         = "NANDemul partition 1",
+         .offset       = 0,
+         .size         = 0 },
 };
 
 static int nPartitions = sizeof(nandemul2k_partition)/sizeof(nandemul2k_partition[0]);