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/uncompress.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/uncompress.h')
-rw-r--r-- | arch/arm/mach-nomadik/include/mach/uncompress.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-nomadik/include/mach/uncompress.h b/arch/arm/mach-nomadik/include/mach/uncompress.h index 071003bc8456..7d4687e9cbdf 100644 --- a/arch/arm/mach-nomadik/include/mach/uncompress.h +++ b/arch/arm/mach-nomadik/include/mach/uncompress.h @@ -27,10 +27,10 @@ struct amba_device; #include <linux/amba/serial.h> -#define NOMADIK_UART_DR 0x101FB000 -#define NOMADIK_UART_LCRH 0x101FB02c -#define NOMADIK_UART_CR 0x101FB030 -#define NOMADIK_UART_FR 0x101FB018 +#define NOMADIK_UART_DR (void __iomem *)0x101FB000 +#define NOMADIK_UART_LCRH (void __iomem *)0x101FB02c +#define NOMADIK_UART_CR (void __iomem *)0x101FB030 +#define NOMADIK_UART_FR (void __iomem *)0x101FB018 static void putc(const char c) { |