mtd/drivers/mtd/maps physmap.c,1.32,1.33

David Woodhouse dwmw2 at infradead.org
Mon Jul 12 10:37:26 EDT 2004


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

Modified Files:
	physmap.c 
Log Message:
Merge from 2.6: NULL


Index: physmap.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/physmap.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- physmap.c	12 Jul 2004 10:23:26 -0000	1.32
+++ physmap.c	12 Jul 2004 14:37:24 -0000	1.33
@@ -42,7 +42,7 @@
 
 static int __init init_physmap(void)
 {
-	static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", 0 };
+	static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL };
 	const char **type;
 
        	printk(KERN_NOTICE "physmap flash device: %lx at %lx\n", physmap_map.size, physmap_map.phys);
@@ -55,7 +55,7 @@
 
 	simple_map_init(&physmap_map);
 
-	mymtd = 0;
+	mymtd = NULL;
 	type = rom_probe_types;
 	for(; !mymtd && *type; type++) {
 		mymtd = do_map_probe(*type, &physmap_map);





More information about the linux-mtd-cvs mailing list