summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/mx27.h
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2008-09-09 12:19:43 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2008-09-09 14:13:53 +0400
commitdefa8c309d280915a2e7f4451f70bcbb087088a3 (patch)
treee7c6e63db7a8e4816f5b91289aaf9741033e60e8 /arch/arm/plat-mxc/include/mach/mx27.h
parent8b0171fad1db5c9a5b315f4a11e65da45fbd6f21 (diff)
downloadlinux-defa8c309d280915a2e7f4451f70bcbb087088a3.tar.xz
i.MX3: Fix compiler warnings
Fix some base address declaration by adding a cast. Signed-off-by: Luotao Fu <l.fu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx27.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/mx27.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h
index 212ecc246626..a86db64744a1 100644
--- a/arch/arm/plat-mxc/include/mach/mx27.h
+++ b/arch/arm/plat-mxc/include/mach/mx27.h
@@ -128,6 +128,7 @@
* it returns 0xDEADBEEF
*/
#define IO_ADDRESS(x) \
+ (void __iomem *) \
(((x >= AIPI_BASE_ADDR) && (x < (AIPI_BASE_ADDR + AIPI_SIZE))) ? \
AIPI_IO_ADDRESS(x) : \
((x >= SAHB1_BASE_ADDR) && (x < (SAHB1_BASE_ADDR + SAHB1_SIZE))) ? \