diff options
Diffstat (limited to 'arch/arm/mach-l7200/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-l7200/include/mach/io.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-l7200/include/mach/io.h b/arch/arm/mach-l7200/include/mach/io.h index 64dc59459811..a770a89fb708 100644 --- a/arch/arm/mach-l7200/include/mach/io.h +++ b/arch/arm/mach-l7200/include/mach/io.h | |||
@@ -15,11 +15,7 @@ | |||
15 | /* | 15 | /* |
16 | * There are not real ISA nor PCI buses, so we fake it. | 16 | * There are not real ISA nor PCI buses, so we fake it. |
17 | */ | 17 | */ |
18 | static inline void __iomem *__io(unsigned long addr) | 18 | #define __io(a) __typesafe_io(a) |
19 | { | 19 | #define __mem_pci(a) (a) |
20 | return (void __iomem *)addr; | ||
21 | } | ||
22 | #define __io(a) __io(a) | ||
23 | #define __mem_pci(a) (a) | ||
24 | 20 | ||
25 | #endif | 21 | #endif |