diff options
Diffstat (limited to 'arch/arm/mach-davinci/include')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/hardware.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/uncompress.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-davinci/include/mach/hardware.h b/arch/arm/mach-davinci/include/mach/hardware.h index 414e0b93e741..0be260bff9d5 100644 --- a/arch/arm/mach-davinci/include/mach/hardware.h +++ b/arch/arm/mach-davinci/include/mach/hardware.h | |||
@@ -32,10 +32,4 @@ | |||
32 | #define __IO_ADDRESS(x) ((x) + IO_OFFSET) | 32 | #define __IO_ADDRESS(x) ((x) + IO_OFFSET) |
33 | #define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa)) | 33 | #define IO_ADDRESS(pa) IOMEM(__IO_ADDRESS(pa)) |
34 | 34 | ||
35 | #ifdef __ASSEMBLER__ | ||
36 | #define IOMEM(x) x | ||
37 | #else | ||
38 | #define IOMEM(x) ((void __force __iomem *)(x)) | ||
39 | #endif | ||
40 | |||
41 | #endif /* __ASM_ARCH_HARDWARE_H */ | 35 | #endif /* __ASM_ARCH_HARDWARE_H */ |
diff --git a/arch/arm/mach-davinci/include/mach/uncompress.h b/arch/arm/mach-davinci/include/mach/uncompress.h index 9dc7cf9664fe..da2fb2c2155a 100644 --- a/arch/arm/mach-davinci/include/mach/uncompress.h +++ b/arch/arm/mach-davinci/include/mach/uncompress.h | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | #include <mach/serial.h> | 26 | #include <mach/serial.h> |
27 | 27 | ||
28 | #define IOMEM(x) ((void __force __iomem *)(x)) | ||
29 | |||
28 | u32 *uart; | 30 | u32 *uart; |
29 | 31 | ||
30 | /* PORT_16C550A, in polled non-fifo mode */ | 32 | /* PORT_16C550A, in polled non-fifo mode */ |