mtd/drivers/mtd/maps physmap.c,1.30,1.31

gleixner at infradead.org gleixner at infradead.org
Sat Jun 5 05:44:51 EDT 2004


Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv2705

Modified Files:
	physmap.c 
Log Message:
fix compiler warnings

Index: physmap.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/physmap.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- physmap.c	11 Nov 2003 19:05:18 -0000	1.30
+++ physmap.c	5 Jun 2004 09:44:48 -0000	1.31
@@ -31,7 +31,7 @@
 static int num_physmap_partitions;
 static struct mtd_partition *physmap_partitions;
 
-char *part_probes[] __initdata = {"cmdlinepart", "RedBoot", NULL};
+static const char *part_probes[] __initdata = {"cmdlinepart", "RedBoot", NULL};
 
 void physmap_set_partitions(struct mtd_partition *parts, int num_parts)
 {





More information about the linux-mtd-cvs mailing list