diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-19 12:48:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 10:34:33 +0100 |
commit | cc83e4096c6db1f13406c7dedf5516b4b5bcba55 (patch) | |
tree | 9ba8356e3101d175e6e69de5d43b7a58b086b96c /arch/arm | |
parent | 9eb2eb8c40ffd30da322648c4415bae0288eb167 (diff) | |
download | linux-3.10-cc83e4096c6db1f13406c7dedf5516b4b5bcba55.tar.gz linux-3.10-cc83e4096c6db1f13406c7dedf5516b4b5bcba55.tar.bz2 linux-3.10-cc83e4096c6db1f13406c7dedf5516b4b5bcba55.zip |
Use __force in IO_ADDRESS macro to silence sparse
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx3x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx3x.h b/arch/arm/plat-mxc/include/mach/mx3x.h index 83a172b51b0..3878c6085d5 100644 --- a/arch/arm/plat-mxc/include/mach/mx3x.h +++ b/arch/arm/plat-mxc/include/mach/mx3x.h @@ -157,7 +157,7 @@ * it returns 0xDEADBEEF */ #define IO_ADDRESS(x) \ - (void __iomem *) \ + (void __force __iomem *) \ (((x >= AIPS1_BASE_ADDR) && (x < (AIPS1_BASE_ADDR + AIPS1_SIZE))) ? AIPS1_IO_ADDRESS(x):\ ((x >= SPBA0_BASE_ADDR) && (x < (SPBA0_BASE_ADDR + SPBA0_SIZE))) ? SPBA0_IO_ADDRESS(x):\ ((x >= AIPS2_BASE_ADDR) && (x < (AIPS2_BASE_ADDR + AIPS2_SIZE))) ? AIPS2_IO_ADDRESS(x):\ |