diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 15:18:57 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 15:18:57 +0100 |
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 55992ab586b..e874b54eefe 100644 --- a/arch/arm/mach-iop3xx/iq31244-mm.c +++ b/arch/arm/mach-iop3xx/iq31244-mm.c @@ -29,10 +29,12 @@ * We use RedBoot's setup for the onboard devices. */ static struct map_desc iq31244_io_desc[] __initdata = { - /* virtual physical length type */ - - /* on-board devices */ - { IQ31244_UART, IQ31244_UART, 0x00100000, MT_DEVICE } + { /* on-board devices */ + .virtual = IQ31244_UART, + .pfn = __phys_to_pfn(IQ31244_UART), + .length = 0x00100000, + .type = MT_DEVICE + } }; void __init iq31244_map_io(void) |