[MIPS] Make ioremap() work on TX39/49 special unmapped segment
[linux-2.6-block.git] / include / asm-mips / mach-generic / ioremap.h
index 9b64ff6e485d8bf3198f83033e518705e311726d..b379938d47f0f4b7b580cb1c21d603112ca4c216 100644 (file)
@@ -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 */