diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2008-09-09 04:19:43 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 06:13:53 -0400 |
commit | defa8c309d280915a2e7f4451f70bcbb087088a3 (patch) | |
tree | e7c6e63db7a8e4816f5b91289aaf9741033e60e8 /arch/arm/plat-mxc/include/mach/mx27.h | |
parent | 8b0171fad1db5c9a5b315f4a11e65da45fbd6f21 (diff) |
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.h | 1 |
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 @@ | |||
128 | * it returns 0xDEADBEEF | 128 | * it returns 0xDEADBEEF |
129 | */ | 129 | */ |
130 | #define IO_ADDRESS(x) \ | 130 | #define IO_ADDRESS(x) \ |
131 | (void __iomem *) \ | ||
131 | (((x >= AIPI_BASE_ADDR) && (x < (AIPI_BASE_ADDR + AIPI_SIZE))) ? \ | 132 | (((x >= AIPI_BASE_ADDR) && (x < (AIPI_BASE_ADDR + AIPI_SIZE))) ? \ |
132 | AIPI_IO_ADDRESS(x) : \ | 133 | AIPI_IO_ADDRESS(x) : \ |
133 | ((x >= SAHB1_BASE_ADDR) && (x < (SAHB1_BASE_ADDR + SAHB1_SIZE))) ? \ | 134 | ((x >= SAHB1_BASE_ADDR) && (x < (SAHB1_BASE_ADDR + SAHB1_SIZE))) ? \ |