summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-jmr3927/ioremap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-jmr3927/ioremap.h')
-rw-r--r--include/asm-mips/mach-jmr3927/ioremap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-jmr3927/ioremap.h b/include/asm-mips/mach-jmr3927/ioremap.h
index aa131ad7f717..29989ff10d66 100644
--- a/include/asm-mips/mach-jmr3927/ioremap.h
+++ b/include/asm-mips/mach-jmr3927/ioremap.h
@@ -25,7 +25,7 @@ static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,
{
#define TXX9_DIRECTMAP_BASE 0xff000000ul
if (offset >= TXX9_DIRECTMAP_BASE &&
- offset < TXX9_DIRECTMAP_BASE + 0xf0000)
+ offset < TXX9_DIRECTMAP_BASE + 0xff0000)
return (void __iomem *)offset;
return NULL;
}