diff options
Diffstat (limited to 'arch/nios2/include')
-rw-r--r-- | arch/nios2/include/asm/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 94cd30ae8254..c5cf8ea12ef8 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h | |||
@@ -24,8 +24,6 @@ | |||
24 | #define writew_relaxed(x, addr) writew(x, addr) | 24 | #define writew_relaxed(x, addr) writew(x, addr) |
25 | #define writel_relaxed(x, addr) writel(x, addr) | 25 | #define writel_relaxed(x, addr) writel(x, addr) |
26 | 26 | ||
27 | #include <asm-generic/io.h> | ||
28 | |||
29 | extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, | 27 | extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, |
30 | unsigned long cacheflag); | 28 | unsigned long cacheflag); |
31 | extern void __iounmap(void __iomem *addr); | 29 | extern void __iounmap(void __iomem *addr); |
@@ -57,4 +55,6 @@ static inline void iounmap(void __iomem *addr) | |||
57 | #define virt_to_phys(vaddr) \ | 55 | #define virt_to_phys(vaddr) \ |
58 | ((unsigned long)((unsigned long)(vaddr) & ~0xE0000000)) | 56 | ((unsigned long)((unsigned long)(vaddr) & ~0xE0000000)) |
59 | 57 | ||
58 | #include <asm-generic/io.h> | ||
59 | |||
60 | #endif /* _ASM_NIOS2_IO_H */ | 60 | #endif /* _ASM_NIOS2_IO_H */ |