summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop3xx/iq80321-mm.c
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-28 15:18:57 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 15:18:57 +0100
commit4835e64a5f44366e97dde9b6e26ede2ec16249da (patch)
treef9bb1db7e27d86b2cb40612468bca9338b6280eb /arch/arm/mach-iop3xx/iq80321-mm.c
parentf70cd65658388ca2a06071bdbd8a5a6beac5aa47 (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/iq80321-mm.c')
-rw-r--r--arch/arm/mach-iop3xx/iq80321-mm.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-iop3xx/iq80321-mm.c b/arch/arm/mach-iop3xx/iq80321-mm.c
index bb3e9e5a9af..d9cac5e1fc3 100644
--- a/arch/arm/mach-iop3xx/iq80321-mm.c
+++ b/arch/arm/mach-iop3xx/iq80321-mm.c
@@ -29,10 +29,12 @@
* We use RedBoot's setup for the onboard devices.
*/
static struct map_desc iq80321_io_desc[] __initdata = {
- /* virtual physical length type */
-
- /* on-board devices */
- { IQ80321_UART, IQ80321_UART, 0x00100000, MT_DEVICE }
+ { /* on-board devices */
+ .virtual = IQ80321_UART,
+ .pfn = __phys_to_pfn(IQ80321_UART),
+ .length = 0x00100000,
+ .type = MT_DEVICE
+ }
};
void __init iq80321_map_io(void)