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/hackkit.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/hackkit.c')
-rw-r--r-- | arch/arm/mach-sa1100/hackkit.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index 502d65cfe654..c922e043c424 100644 --- a/arch/arm/mach-sa1100/hackkit.c +++ b/arch/arm/mach-sa1100/hackkit.c | |||
@@ -57,8 +57,12 @@ static void hackkit_uart_pm(struct uart_port *port, u_int state, u_int oldstate) | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | static struct map_desc hackkit_io_desc[] __initdata = { | 59 | static struct map_desc hackkit_io_desc[] __initdata = { |
60 | /* virtual physical length type */ | 60 | { /* Flash bank 0 */ |
61 | { 0xe8000000, 0x00000000, 0x01000000, MT_DEVICE } /* Flash bank 0 */ | 61 | .virtual = 0xe8000000, |
62 | .pfn = __phys_to_pfn(0x00000000), | ||
63 | .length = 0x01000000, | ||
64 | .type = MT_DEVICE | ||
65 | }, | ||
62 | }; | 66 | }; |
63 | 67 | ||
64 | static struct sa1100_port_fns hackkit_port_fns __initdata = { | 68 | static struct sa1100_port_fns hackkit_port_fns __initdata = { |