diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-nomadik/include/mach/hardware.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-nomadik/include/mach/uncompress.h | 8 |
2 files changed, 5 insertions, 5 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 @@ | |||
30 | - NOMADIK_IO_VIRTUAL + NOMADIK_IO_PHYSICAL) | 30 | - NOMADIK_IO_VIRTUAL + NOMADIK_IO_PHYSICAL) |
31 | 31 | ||
32 | /* used in asm code, so no casts */ | 32 | /* used in asm code, so no casts */ |
33 | #define IO_ADDRESS(x) ((x) - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL) | 33 | #define IO_ADDRESS(x) IOMEM((x) - NOMADIK_IO_PHYSICAL + NOMADIK_IO_VIRTUAL) |
34 | 34 | ||
35 | /* | 35 | /* |
36 | * Base address defination for Nomadik Onchip Logic Block | 36 | * Base address defination for Nomadik Onchip Logic Block |
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 @@ | |||
27 | struct amba_device; | 27 | struct amba_device; |
28 | #include <linux/amba/serial.h> | 28 | #include <linux/amba/serial.h> |
29 | 29 | ||
30 | #define NOMADIK_UART_DR 0x101FB000 | 30 | #define NOMADIK_UART_DR (void __iomem *)0x101FB000 |
31 | #define NOMADIK_UART_LCRH 0x101FB02c | 31 | #define NOMADIK_UART_LCRH (void __iomem *)0x101FB02c |
32 | #define NOMADIK_UART_CR 0x101FB030 | 32 | #define NOMADIK_UART_CR (void __iomem *)0x101FB030 |
33 | #define NOMADIK_UART_FR 0x101FB018 | 33 | #define NOMADIK_UART_FR (void __iomem *)0x101FB018 |
34 | 34 | ||
35 | static void putc(const char c) | 35 | static void putc(const char c) |
36 | { | 36 | { |