[PATCH v3 18/32] nios2: include default ioremap_nopost() implementation

Lorenzo Pieralisi
2017-04-11T12:30:09Z

Cc: Ley Foon Tan <lftan@altera.com>
---
arch/nios2/include/asm/io.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index ce072ba..ff8ac76 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -47,6 +47,7 @@ static inline void iounmap(void __iomem *addr)

#define ioremap_wc ioremap_nocache
#define ioremap_wt ioremap_nocache
+#include <asm-generic/ioremap-nopost.h>

/* Pages to physical address... */
#define page_to_phys(page) virt_to_phys(page_to_virt(page))
--
2.10.0