[PATCH v3 19/32] openrisc: include default ioremap_nopost() implementation

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

Cc: Jonas Bonn <jonas@southpole.se>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
---
arch/openrisc/include/asm/io.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/openrisc/include/asm/io.h b/arch/openrisc/include/asm/io.h
index 7c69139..1cea257 100644
--- a/arch/openrisc/include/asm/io.h
+++ b/arch/openrisc/include/asm/io.h
@@ -48,5 +48,7 @@ static inline void __iomem *ioremap_nocache(phys_addr_t offset,
__pgprot(pgprot_val(PAGE_KERNEL) | _PAGE_CI));
}

+#include <asm-generic/ioremap-nopost.h>
+
extern void iounmap(void *addr);
#endif
--
2.10.0