diff options
| -rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-mvebu/include/mach/armada-370-xp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 4ef923b032ec..dfe635b48136 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | static struct map_desc armada_370_xp_io_desc[] __initdata = { | 26 | static struct map_desc armada_370_xp_io_desc[] __initdata = { |
| 27 | { | 27 | { |
| 28 | .virtual = ARMADA_370_XP_REGS_VIRT_BASE, | 28 | .virtual = (unsigned long) ARMADA_370_XP_REGS_VIRT_BASE, |
| 29 | .pfn = __phys_to_pfn(ARMADA_370_XP_REGS_PHYS_BASE), | 29 | .pfn = __phys_to_pfn(ARMADA_370_XP_REGS_PHYS_BASE), |
| 30 | .length = ARMADA_370_XP_REGS_SIZE, | 30 | .length = ARMADA_370_XP_REGS_SIZE, |
| 31 | .type = MT_DEVICE, | 31 | .type = MT_DEVICE, |
diff --git a/arch/arm/mach-mvebu/include/mach/armada-370-xp.h b/arch/arm/mach-mvebu/include/mach/armada-370-xp.h index 25f0ca8d7820..aac9bebc6b03 100644 --- a/arch/arm/mach-mvebu/include/mach/armada-370-xp.h +++ b/arch/arm/mach-mvebu/include/mach/armada-370-xp.h | |||
| @@ -16,7 +16,7 @@ | |||
| 16 | #define __MACH_ARMADA_370_XP_H | 16 | #define __MACH_ARMADA_370_XP_H |
| 17 | 17 | ||
| 18 | #define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000 | 18 | #define ARMADA_370_XP_REGS_PHYS_BASE 0xd0000000 |
| 19 | #define ARMADA_370_XP_REGS_VIRT_BASE 0xfeb00000 | 19 | #define ARMADA_370_XP_REGS_VIRT_BASE IOMEM(0xfeb00000) |
| 20 | #define ARMADA_370_XP_REGS_SIZE SZ_1M | 20 | #define ARMADA_370_XP_REGS_SIZE SZ_1M |
| 21 | 21 | ||
| 22 | #endif /* __MACH_ARMADA_370_XP_H */ | 22 | #endif /* __MACH_ARMADA_370_XP_H */ |
