diff options
author | Bellido Nicolas <ml@acolin.be> | 2006-05-07 23:49:24 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-05-07 23:49:24 +0200 |
commit | 74fae122eb9f0db8b8718b9851c31c2f374fb134 (patch) | |
tree | c8df9806f9b65c2916170331223f68ccf81c6a8b /arch/arm/mach-aaec2000 | |
parent | [ARM] 3506/1: aaec2000: debug-macro.S needs hardware.h (diff) | |
download | linux-74fae122eb9f0db8b8718b9851c31c2f374fb134.tar.xz linux-74fae122eb9f0db8b8718b9851c31c2f374fb134.zip |
[ARM] 3507/1: Replace map_desc.physical with map_desc.pfn: aaed2000
Patch from Bellido Nicolas
aaed2000 map_desc.pfn conversion
Signed-off-by: Nicolas Bellido <ml@acolin.be>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-aaec2000')
-rw-r--r-- | arch/arm/mach-aaec2000/aaed2000.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-aaec2000/aaed2000.c b/arch/arm/mach-aaec2000/aaed2000.c index dc5fa8e5ebef..83f57da3184c 100644 --- a/arch/arm/mach-aaec2000/aaed2000.c +++ b/arch/arm/mach-aaec2000/aaed2000.c @@ -79,7 +79,12 @@ static void __init aaed2000_init(void) } static struct map_desc aaed2000_io_desc[] __initdata = { - { EXT_GPIO_VBASE, EXT_GPIO_PBASE, EXT_GPIO_LENGTH, MT_DEVICE }, /* Ext GPIO */ + { + .virtual = EXT_GPIO_VBASE, + .pfn = __phys_to_pfn(EXT_GPIO_PBASE), + .length = EXT_GPIO_LENGTH, + .type = MT_DEVICE + }, }; static void __init aaed2000_map_io(void) |