diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:18:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:18:57 -0400 |
commit | 4835e64a5f44366e97dde9b6e26ede2ec16249da (patch) | |
tree | f9bb1db7e27d86b2cb40612468bca9338b6280eb /arch/arm/mach-iop3xx/iq31244-mm.c | |
parent | f70cd65658388ca2a06071bdbd8a5a6beac5aa47 (diff) |
[ARM] 2983/1: Replace map_desc.physical with map_desc.pfn: IOP3xx
Patch from Deepak Saxena
IOP3xx 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-iop3xx/iq31244-mm.c')
-rw-r--r-- | arch/arm/mach-iop3xx/iq31244-mm.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-iop3xx/iq31244-mm.c b/arch/arm/mach-iop3xx/iq31244-mm.c index 55992ab586ba..e874b54eefe3 100644 --- a/arch/arm/mach-iop3xx/iq31244-mm.c +++ b/arch/arm/mach-iop3xx/iq31244-mm.c | |||
@@ -29,10 +29,12 @@ | |||
29 | * We use RedBoot's setup for the onboard devices. | 29 | * We use RedBoot's setup for the onboard devices. |
30 | */ | 30 | */ |
31 | static struct map_desc iq31244_io_desc[] __initdata = { | 31 | static struct map_desc iq31244_io_desc[] __initdata = { |
32 | /* virtual physical length type */ | 32 | { /* on-board devices */ |
33 | 33 | .virtual = IQ31244_UART, | |
34 | /* on-board devices */ | 34 | .pfn = __phys_to_pfn(IQ31244_UART), |
35 | { IQ31244_UART, IQ31244_UART, 0x00100000, MT_DEVICE } | 35 | .length = 0x00100000, |
36 | .type = MT_DEVICE | ||
37 | } | ||
36 | }; | 38 | }; |
37 | 39 | ||
38 | void __init iq31244_map_io(void) | 40 | void __init iq31244_map_io(void) |