diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:05 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:05 -0400 |
commit | f10083f5a6f4a2735cca3a8c762457272ea66bf0 (patch) | |
tree | fcfe67bcb1b14305ffdad376a2b0ee10377a1916 /arch/arm/mach-clps711x/mm.c | |
parent | 92519d82828a93743adc31202927f411601c0d04 (diff) |
[ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x
Patch from Deepak Saxena
CLSP711x map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
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) |