mtd/drivers/mtd/nand autcpu12.c,1.15,1.16
gleixner at infradead.org
gleixner at infradead.org
Wed May 26 12:08:27 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv12099
Modified Files:
autcpu12.c
Log Message:
Use C99 initializers again, when was this reverted ? tglx slaps himself. Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Index: autcpu12.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/autcpu12.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- autcpu12.c 26 May 2004 13:36:38 -0000 1.15
+++ autcpu12.c 26 May 2004 16:08:24 -0000 1.16
@@ -70,42 +70,40 @@
/*
* Define partitions for flash devices
*/
-extern struct nand_oobinfo jffs2_oobinfo;
-
static struct mtd_partition partition_info16k[] = {
- { name: "AUTCPU12 flash partition 1",
- offset: 0,
- size: 8 * SZ_1M },
- { name: "AUTCPU12 flash partition 2",
- offset: 8 * SZ_1M,
- size: 8 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 1",
+ .offset = 0,
+ .size = 8 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 2",
+ .offset = 8 * SZ_1M,
+ .size = 8 * SZ_1M },
};
static struct mtd_partition partition_info32k[] = {
- { name: "AUTCPU12 flash partition 1",
- offset: 0,
- size: 8 * SZ_1M },
- { name: "AUTCPU12 flash partition 2",
- offset: 8 * SZ_1M,
- size: 24 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 1",
+ .offset = 0,
+ .size = 8 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 2",
+ .offset = 8 * SZ_1M,
+ .size = 24 * SZ_1M },
};
static struct mtd_partition partition_info64k[] = {
- { name: "AUTCPU12 flash partition 1",
- offset: 0,
- size: 16 * SZ_1M },
- { name: "AUTCPU12 flash partition 2",
- offset: 16 * SZ_1M,
- size: 48 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 1",
+ .offset = 0,
+ .size = 16 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 2",
+ .offset = 16 * SZ_1M,
+ .size = 48 * SZ_1M },
};
static struct mtd_partition partition_info128k[] = {
- { name: "AUTCPU12 flash partition 1",
- offset: 0,
- size: 16 * SZ_1M },
- { name: "AUTCPU12 flash partition 2",
- offset: 16 * SZ_1M,
- size: 112 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 1",
+ .offset = 0,
+ .size = 16 * SZ_1M },
+ { .name = "AUTCPU12 flash partition 2",
+ .offset = 16 * SZ_1M,
+ .size = 112 * SZ_1M },
};
#define NUM_PARTITIONS16K 2
More information about the linux-mtd-cvs
mailing list