Commit 503dcbeb authored by Tony Lindgren's avatar Tony Lindgren

OMAP: Fix IOMEM macro for assembly

Otherwise IOMEM calculations can fail.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cb5793db
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment