From 5c495ce5e5595bdd0cb2b5ee3c760540c58d5c37 Mon Sep 17 00:00:00 2001 From: Marek Belisko Date: Thu, 18 Nov 2010 14:29:30 +0100 Subject: nand_s3c2410: Fix sparse warnings. Patch fix following sparse warnings: drivers/mtd/nand/nand_s3c2410.c:125:9: warning: incorrect type in argument 1 (different base types) expected void const volatile [noderef] * got unsigned long Signed-off-by: Marek Belisko Signed-off-by: Sascha Hauer --- include/linux/mtd/nand.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux/mtd/nand.h') diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index e3b70992b0..6671a72a58 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -359,7 +359,6 @@ struct nand_buffers { * (determine if errors are correctable) * @write_page: [REPLACEABLE] High-level page write function */ -#define IOMEM(addr) ((void __force __iomem *)addr) struct nand_chip { void __iomem *IO_ADDR_R; -- cgit v1.2.3