diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 10:19:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 10:19:04 -0400 |
commit | 92519d82828a93743adc31202927f411601c0d04 (patch) | |
tree | 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 /arch/arm/mach-sa1100/cerf.c | |
parent | cd5fc8bffd70b2d87953334b6195db4bc2125ff9 (diff) |
[ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100
Patch from Deepak Saxena
SA1100 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-sa1100/cerf.c')
-rw-r--r-- | arch/arm/mach-sa1100/cerf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-sa1100/cerf.c b/arch/arm/mach-sa1100/cerf.c index 9484be7dc671..23cb74885275 100644 --- a/arch/arm/mach-sa1100/cerf.c +++ b/arch/arm/mach-sa1100/cerf.c | |||
@@ -100,8 +100,12 @@ static void __init cerf_init_irq(void) | |||
100 | } | 100 | } |
101 | 101 | ||
102 | static struct map_desc cerf_io_desc[] __initdata = { | 102 | static struct map_desc cerf_io_desc[] __initdata = { |
103 | /* virtual physical length type */ | 103 | { /* Crystal Ethernet Chip */ |
104 | { 0xf0000000, 0x08000000, 0x00100000, MT_DEVICE } /* Crystal Ethernet Chip */ | 104 | .virtual = 0xf0000000, |
105 | .pfn = __phys_to_pfn(0x08000000), | ||
106 | .length = 0x00100000, | ||
107 | .type = MT_DEVICE | ||
108 | } | ||
105 | }; | 109 | }; |
106 | 110 | ||
107 | static void __init cerf_map_io(void) | 111 | static void __init cerf_map_io(void) |