diff options
Diffstat (limited to 'arch/arm/mach-clps711x/mm.c')
-rw-r--r-- | arch/arm/mach-clps711x/mm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/mm.c b/arch/arm/mach-clps711x/mm.c index 120b7cac84b5..a00f77ef8df8 100644 --- a/arch/arm/mach-clps711x/mm.c +++ b/arch/arm/mach-clps711x/mm.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/init.h> | 24 | #include <linux/init.h> |
25 | #include <linux/bootmem.h> | 25 | #include <linux/bootmem.h> |
26 | 26 | ||
27 | #include <asm/sizes.h> | ||
27 | #include <asm/hardware.h> | 28 | #include <asm/hardware.h> |
28 | #include <asm/pgtable.h> | 29 | #include <asm/pgtable.h> |
29 | #include <asm/page.h> | 30 | #include <asm/page.h> |
@@ -34,7 +35,12 @@ | |||
34 | * This maps the generic CLPS711x registers | 35 | * This maps the generic CLPS711x registers |
35 | */ | 36 | */ |
36 | static struct map_desc clps711x_io_desc[] __initdata = { | 37 | static struct map_desc clps711x_io_desc[] __initdata = { |
37 | { CLPS7111_VIRT_BASE, CLPS7111_PHYS_BASE, 1048576, MT_DEVICE } | 38 | { |
39 | .virtual = CLPS7111_VIRT_BASE, | ||
40 | .pfn = __phys_to_pfn(CLPS7111_PHYS_BASE), | ||
41 | .length = SZ_1M, | ||
42 | .type = MT_DEVICE | ||
43 | } | ||
38 | }; | 44 | }; |
39 | 45 | ||
40 | void __init clps711x_map_io(void) | 46 | void __init clps711x_map_io(void) |