summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-07-17 10:14:02 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 17:59:12 +0400
commit513d57e1db53870cdc11e60df77c57c8b3897fdf (patch)
tree06fcf3c8370cba8c83b9902602b132432b071a0e /drivers/mtd/nand/gpmi-nand/gpmi-nand.h
parentcdeadd712f52b16a9285386d61ee26fd14eb4085 (diff)
downloadlinux-513d57e1db53870cdc11e60df77c57c8b3897fdf.tar.xz
mtd: gpmi: fix the compiler warnings
Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/gpmi-nand/gpmi-nand.h')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
index 1547a60c1c6f..1f6121782330 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
@@ -24,8 +24,8 @@
#define GPMI_CLK_MAX 5 /* MX6Q needs five clocks */
struct resources {
- void *gpmi_regs;
- void *bch_regs;
+ void __iomem *gpmi_regs;
+ void __iomem *bch_regs;
unsigned int bch_low_interrupt;
unsigned int bch_high_interrupt;
unsigned int dma_low_channel;