diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:18:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:18:59 -0400 |
commit | 36d28c03d17506dd30aeed9d68a4023f3e7631dc (patch) | |
tree | b5e0dc704946127a530615de8af8010b74b96983 /arch/arm/mach-lh7a40x/arch-kev7a400.c | |
parent | 87fe04bd2a39f263211cc232da9f4f094eaffea0 (diff) |
[ARM] 2986/1: Replace map_desc.physical with map_desc.pfn: LH7A40x
Patch from Deepak Saxena
LH7A40x 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-lh7a40x/arch-kev7a400.c')
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-kev7a400.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-kev7a400.c b/arch/arm/mach-lh7a40x/arch-kev7a400.c index cb3dcd3bd00a..19f2fa2244c4 100644 --- a/arch/arm/mach-lh7a40x/arch-kev7a400.c +++ b/arch/arm/mach-lh7a40x/arch-kev7a400.c | |||
@@ -26,8 +26,17 @@ | |||
26 | /* This function calls the board specific IRQ initialization function. */ | 26 | /* This function calls the board specific IRQ initialization function. */ |
27 | 27 | ||
28 | static struct map_desc kev7a400_io_desc[] __initdata = { | 28 | static struct map_desc kev7a400_io_desc[] __initdata = { |
29 | { IO_VIRT, IO_PHYS, IO_SIZE, MT_DEVICE }, | 29 | { |
30 | { CPLD_VIRT, CPLD_PHYS, CPLD_SIZE, MT_DEVICE }, | 30 | .virtual = IO_VIRT, |
31 | .pfn = __phys_to_pfn(IO_PHYS), | ||
32 | .length = IO_SIZE, | ||
33 | .type = MT_DEVICE | ||
34 | }, { | ||
35 | .virtual = CPLD_VIRT, | ||
36 | .pfn = __phys_to_pfn(CPLD_PHYS), | ||
37 | .length = CPLD_SIZE, | ||
38 | .type = MT_DEVICE | ||
39 | } | ||
31 | }; | 40 | }; |
32 | 41 | ||
33 | void __init kev7a400_map_io(void) | 42 | void __init kev7a400_map_io(void) |