summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/mainstone.c
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@plexity.net>2005-10-28 16:19:01 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 16:19:01 +0200
commit6f9182eb32a4e6c46813928bee50df71e3fd1c74 (patch)
tree6d5579e43a5bdb8acc7dfe301906e31087f2e741 /arch/arm/mach-pxa/mainstone.c
parent[ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP (diff)
downloadlinux-6f9182eb32a4e6c46813928bee50df71e3fd1c74.tar.xz
linux-6f9182eb32a4e6c46813928bee50df71e3fd1c74.zip
[ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA
Patch from Deepak Saxena PXA 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-pxa/mainstone.c')
-rw-r--r--arch/arm/mach-pxa/mainstone.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c
index 85fdb5b1470a..8b4a21623fc0 100644
--- a/arch/arm/mach-pxa/mainstone.c
+++ b/arch/arm/mach-pxa/mainstone.c
@@ -317,7 +317,12 @@ static void __init mainstone_init(void)
static struct map_desc mainstone_io_desc[] __initdata = {
- { MST_FPGA_VIRT, MST_FPGA_PHYS, 0x00100000, MT_DEVICE }, /* CPLD */
+ { /* CPLD */
+ .virtual = MST_FPGA_VIRT,
+ .pfn = __phys_to_pfn(MST_FPGA_PHYS),
+ .length = 0x00100000,
+ .type = MT_DEVICE
+ }
};
static void __init mainstone_map_io(void)