summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBellido Nicolas <ml@acolin.be>2006-05-07 22:49:21 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-05-07 22:49:21 +0100
commit16b6dd4419cdef637a907cfc26594e4ebe688975 (patch)
tree358e43c7b117b9b92508410c0a4e63b6ac20ff7e
parent216251cff98838f2b79c53fc8a9e76884944be7d (diff)
[ARM] 3503/1: Fix map_desc structure for aaec2000
Patch from Bellido Nicolas Patch: [ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000 incorrectly expanded the struct map_desc for aaec2000. Signed-off-by: Nicolas Bellido <ml@acolin.be> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-aaec2000/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-aaec2000/core.c b/arch/arm/mach-aaec2000/core.c
index dce4815cf53c..3be05c430619 100644
--- a/arch/arm/mach-aaec2000/core.c
+++ b/arch/arm/mach-aaec2000/core.c
@@ -50,12 +50,12 @@
static struct map_desc standard_io_desc[] __initdata = {
{
.virtual = VIO_APB_BASE,
- .physical = __phys_to_pfn(PIO_APB_BASE),
+ .pfn = __phys_to_pfn(PIO_APB_BASE),
.length = IO_APB_LENGTH,
.type = MT_DEVICE
}, {
.virtual = VIO_AHB_BASE,
- .physical = __phys_to_pfn(PIO_AHB_BASE),
+ .pfn = __phys_to_pfn(PIO_AHB_BASE),
.length = IO_AHB_LENGTH,
.type = MT_DEVICE
}