X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fasm-mips%2Fmach-generic%2Fioremap.h;h=b379938d47f0f4b7b580cb1c21d603112ca4c216;hb=c87ce65868bbf9bbea9c3f112ff8315302daf8f2;hp=9b64ff6e485d8bf3198f83033e518705e311726d;hpb=c3455b0efc2b5b1bdc755602f77ce7f43725bf61;p=cascardo%2Flinux.git diff --git a/include/asm-mips/mach-generic/ioremap.h b/include/asm-mips/mach-generic/ioremap.h index 9b64ff6e485d..b379938d47f0 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 */