summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-10-10 23:46:37 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 00:37:22 +0200
commitafc12d30a74415a49a6ce36d89f82641b46c499b (patch)
tree29fb2348614f1e07b285f317273612b196967573 /drivers/mtd/nand
parent[PATCH] ia64/sn __iomem annotations (diff)
downloadlinux-afc12d30a74415a49a6ce36d89f82641b46c499b.tar.xz
linux-afc12d30a74415a49a6ce36d89f82641b46c499b.zip
[PATCH] mtd: remove several bogus casts to void * in iounmap() argument
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/cs553x_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index e0a1d386e581..94924d52a9b9 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -249,7 +249,7 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
goto out;
out_ior:
- iounmap((void *)this->IO_ADDR_R);
+ iounmap(this->IO_ADDR_R);
out_mtd:
kfree(new_mtd);
out: