summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorMarek Belisko <marek.belisko@open-nandra.com>2010-11-18 14:29:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-11-19 09:35:09 +0100
commit5c495ce5e5595bdd0cb2b5ee3c760540c58d5c37 (patch)
treecffcca9dfaaaca65b088bdb1579666bdc0cf8865 /include/linux/mtd/nand.h
parentdbd361339449ddecaab0837396a4dce05158ae3c (diff)
downloadbarebox-5c495ce5e5595bdd0cb2b5ee3c760540c58d5c37.tar.gz
barebox-5c495ce5e5595bdd0cb2b5ee3c760540c58d5c37.tar.xz
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] <asn:2>*<noident> got unsigned long Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h1
1 files changed, 0 insertions, 1 deletions
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;