mtd/drivers/mtd/maps lubbock-flash.c,1.15,1.16

Nicolas Pitre nico at infradead.org
Thu Aug 26 17:09:43 EDT 2004


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

Modified Files:
	lubbock-flash.c 
Log Message:
Since mainline now has a definition of ioremap_cached() on ARM... 


Index: lubbock-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/lubbock-flash.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- lubbock-flash.c	12 Jul 2004 21:59:44 -0000	1.15
+++ lubbock-flash.c	26 Aug 2004 21:09:40 -0000	1.16
@@ -89,9 +89,7 @@
 				ret = -ENOMEM;
 			continue;
 		}
-		lubbock_maps[i].cached = __ioremap(lubbock_maps[i].phys,
-						   WINDOW_SIZE,
-						   L_PTE_CACHEABLE, 1);
+		lubbock_maps[i].cached = ioremap_cached(lubbock_maps[i].phys, WINDOW_SIZE);
 		if (!lubbock_maps[i].cached)
 			printk(KERN_WARNING "Failed to ioremap cached %s\n", lubbock_maps[i].name);
 		simple_map_init(&lubbock_maps[i]);





More information about the linux-mtd-cvs mailing list