diff options
Diffstat (limited to 'arch/arm/mach-ep93xx/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/io.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/io.h b/arch/arm/mach-ep93xx/include/mach/io.h index fd5f081cc8b7..cebcc1c53d63 100644 --- a/arch/arm/mach-ep93xx/include/mach/io.h +++ b/arch/arm/mach-ep93xx/include/mach/io.h | |||
@@ -1,8 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-ep93xx/include/mach/io.h | 2 | * arch/arm/mach-ep93xx/include/mach/io.h |
3 | */ | 3 | */ |
4 | #ifndef __ASM_MACH_IO_H | ||
5 | #define __ASM_MACH_IO_H | ||
4 | 6 | ||
5 | #define IO_SPACE_LIMIT 0xffffffff | 7 | #define IO_SPACE_LIMIT 0xffffffff |
6 | 8 | ||
7 | #define __io(p) __typesafe_io(p) | 9 | #define __io(p) __typesafe_io(p) |
8 | #define __mem_pci(p) (p) | 10 | #define __mem_pci(p) (p) |
11 | |||
12 | /* | ||
13 | * A typesafe __io() variation for variable initialisers | ||
14 | */ | ||
15 | #ifdef __ASSEMBLER__ | ||
16 | #define IOMEM(p) p | ||
17 | #else | ||
18 | #define IOMEM(p) ((void __iomem __force *)(p)) | ||
19 | #endif | ||
20 | |||
21 | #endif /* __ASM_MACH_IO_H */ | ||