aboutsummaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-generic/ioremap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-generic/ioremap.h')
-rw-r--r--include/asm-mips/mach-generic/ioremap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-mips/mach-generic/ioremap.h b/include/asm-mips/mach-generic/ioremap.h
index 9b64ff6e485..b379938d47f 100644
--- a/include/asm-mips/mach-generic/ioremap.h
+++ b/include/asm-mips/mach-generic/ioremap.h
@@ -20,4 +20,15 @@ static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)
return phys_addr;
}
+static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,
+ unsigned long flags)
+{
+ return NULL;
+}
+
+static inline int plat_iounmap(const volatile void __iomem *addr)
+{
+ return 0;
+}
+
#endif /* __ASM_MACH_GENERIC_IOREMAP_H */