[ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA
[deliverable/linux.git] / arch / arm / mach-pxa / mainstone.c
index 85fdb5b1470a140faa2e5b6a1d9fd02612ac337d..8b4a21623fc082f5378ae1b962be45186d6df89e 100644 (file)
@@ -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)
This page took 0.040164 seconds and 5 git commands to generate.