diff options
Diffstat (limited to 'include/asm-arm/arch-sa1100/io.h')
| -rw-r--r-- | include/asm-arm/arch-sa1100/io.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-arm/arch-sa1100/io.h b/include/asm-arm/arch-sa1100/io.h index 7d969ffbd3bb..9d4fe6cf205b 100644 --- a/include/asm-arm/arch-sa1100/io.h +++ b/include/asm-arm/arch-sa1100/io.h | |||
| @@ -10,13 +10,19 @@ | |||
| 10 | #ifndef __ASM_ARM_ARCH_IO_H | 10 | #ifndef __ASM_ARM_ARCH_IO_H |
| 11 | #define __ASM_ARM_ARCH_IO_H | 11 | #define __ASM_ARM_ARCH_IO_H |
| 12 | 12 | ||
| 13 | #include <asm/hardware.h> | ||
| 14 | |||
| 13 | #define IO_SPACE_LIMIT 0xffffffff | 15 | #define IO_SPACE_LIMIT 0xffffffff |
| 14 | 16 | ||
| 15 | /* | 17 | /* |
| 16 | * We don't actually have real ISA nor PCI buses, but there is so many | 18 | * We don't actually have real ISA nor PCI buses, but there is so many |
| 17 | * drivers out there that might just work if we fake them... | 19 | * drivers out there that might just work if we fake them... |
| 18 | */ | 20 | */ |
| 19 | #define __io(a) ((void __iomem *)(PCIO_BASE + (a))) | 21 | static inline void __iomem *__io(unsigned long addr) |
| 22 | { | ||
| 23 | return (void __iomem *)addr; | ||
| 24 | } | ||
| 25 | #define __io(a) __io(a) | ||
| 20 | #define __mem_pci(a) (a) | 26 | #define __mem_pci(a) (a) |
| 21 | #define __mem_isa(a) (a) | 27 | #define __mem_isa(a) (a) |
| 22 | 28 | ||
