diff options
author | Deepak Saxena <dsaxena@plexity.net> | 2005-10-28 16:19:04 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-28 16:19:04 +0200 |
commit | 92519d82828a93743adc31202927f411601c0d04 (patch) | |
tree | 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 /arch/arm/mach-sa1100/hackkit.c | |
parent | [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark (diff) | |
download | linux-92519d82828a93743adc31202927f411601c0d04.tar.xz linux-92519d82828a93743adc31202927f411601c0d04.zip |
[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) */ static struct map_desc hackkit_io_desc[] __initdata = { - /* virtual physical length type */ - { 0xe8000000, 0x00000000, 0x01000000, MT_DEVICE } /* Flash bank 0 */ + { /* Flash bank 0 */ + .virtual = 0xe8000000, + .pfn = __phys_to_pfn(0x00000000), + .length = 0x01000000, + .type = MT_DEVICE + }, }; static struct sa1100_port_fns hackkit_port_fns __initdata = { |