summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-06-23 15:55:30 +0200
committerTony Lindgren <tony@atomide.com>2009-06-23 15:56:05 +0200
commit503dcbeba50fd3545283594bc391b4a400fa6c48 (patch)
tree77b8f63b3719c079131e2a88e923d0a6398cc3b4 /arch
parentOMAP2/3: Initialize gpio debounce register (diff)
downloadlinux-503dcbeba50fd3545283594bc391b4a400fa6c48.tar.xz
linux-503dcbeba50fd3545283594bc391b4a400fa6c48.zip
OMAP: Fix IOMEM macro for assembly
Otherwise IOMEM calculations can fail. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-omap/include/mach/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/mach/io.h b/arch/arm/plat-omap/include/mach/io.h
index 3b2814720569..73f483d56ca6 100644
--- a/arch/arm/plat-omap/include/mach/io.h
+++ b/arch/arm/plat-omap/include/mach/io.h
@@ -201,7 +201,7 @@
#define OMAP2_IO_ADDRESS(pa) IOMEM(__OMAP2_IO_ADDRESS(pa))
#ifdef __ASSEMBLER__
-#define IOMEM(x) x
+#define IOMEM(x) (x)
#else
#define IOMEM(x) ((void __force __iomem *)(x))