mtd/drivers/mtd/nand diskonchip.c,1.42,1.43

David Woodhouse dwmw2 at infradead.org
Wed Jan 5 07:40:40 EST 2005


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

Modified Files:
	diskonchip.c 
Log Message:
[PATCH] diskonchip missing iomem annotations
        some trivial iomem annotations were still missing; since 2.6.10
and mtd snapshot are identical in that area, same patch goes to Linus and
dwmw2.
Signed-off-by: Al Viro <viro at parcelfarce.linux.theplanet.co.uk>


Index: diskonchip.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/diskonchip.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- diskonchip.c	16 Nov 2004 18:29:03 -0000	1.42
+++ diskonchip.c	5 Jan 2005 12:40:37 -0000	1.43
@@ -1699,7 +1699,7 @@
 	   actually a DiskOnChip.  */
 	WriteDOC(save_control, virtadr, DOCControl);
 fail:
-	iounmap((void *)virtadr);
+	iounmap(virtadr);
 	return ret;
 }
 
@@ -1715,7 +1715,7 @@
 
 		nextmtd = doc->nextdoc;
 		nand_release(mtd);
-		iounmap((void *)doc->virtadr);
+		iounmap(doc->virtadr);
 		kfree(mtd);
 	}
 }





More information about the linux-mtd-cvs mailing list