projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eb2eb8
)
Use __force in IO_ADDRESS macro to silence sparse
author
Sascha Hauer
<s.hauer@pengutronix.de>
Thu, 19 Feb 2009 11:48:35 +0000
(12:48 +0100)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 13 Mar 2009 09:34:33 +0000
(10:34 +0100)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/mx3x.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-mxc/include/mach/mx3x.h
b/arch/arm/plat-mxc/include/mach/mx3x.h
index
83a172b
..
3878c60
100644
(file)
--- 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):\