diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-15 00:21:01 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 17:19:15 +0400 |
commit | c8d9aab065c530db5c38e78eec7e164962f5cb23 (patch) | |
tree | e3fffeb14bb73d11608407bcb5e4f1e841a86cba /arch/arm/mach-nomadik/include/mach/hardware.h | |
parent | a1b478e829cb3e80021b5e2839d90275310d9eae (diff) | |
download | linux-c8d9aab065c530db5c38e78eec7e164962f5cb23.tar.xz |
ARM: nomadik: use __iomem pointers for MMIO
ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.
Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-nomadik/include/mach/hardware.h')
-rw-r--r-- | arch/arm/mach-nomadik/include/mach/hardware.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-nomadik/include/mach/hardware.h b/arch/arm/mach-nomadik/include/mach/hardware.h index 6316dba3bfc8..02035e459f50 100644 --- a/arch/arm/mach-nomadik/include/mach/hardware.h +++ b/arch/arm/mach-nomadik/include/mach/hardware.h @@ -30,7 +30,7 @@ - NOMADIK_IO_VIRTUAL + NOMADIK_IO_PHYSICAL) /* used in asm code, so no casts */ -#define IO_ADDRESS(x) ((x) - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL) +#define IO_ADDRESS(x) IOMEM((x) - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL) /* * Base address defination for Nomadik Onchip Logic Block |