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