summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-ralink/mt7620.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/mach-ralink/mt7620.h')
-rw-r--r--arch/mips/include/asm/mach-ralink/mt7620.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-ralink/mt7620.h b/arch/mips/include/asm/mach-ralink/mt7620.h
index d51dfad8f543..3e37705ea9cf 100644
--- a/arch/mips/include/asm/mach-ralink/mt7620.h
+++ b/arch/mips/include/asm/mach-ralink/mt7620.h
@@ -11,7 +11,8 @@
#ifndef _MT7620_REGS_H_
#define _MT7620_REGS_H_
-#define MT7620_SYSC_BASE 0x10000000
+#define IOMEM(x) ((void __iomem *)(KSEG1ADDR(x)))
+#define MT7620_SYSC_BASE IOMEM(0x10000000)
#define SYSC_REG_CHIP_NAME0 0x00
#define SYSC_REG_CHIP_NAME1 0x04