[ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA
[deliverable/linux.git] / arch / arm / mach-pxa / lubbock.c
index 1f38033921e95c385446cbebf38b9a1d9fa4e4cd..69abc7f61ed00d7aa3154581307bcbfc9d0e2680 100644 (file)
@@ -246,7 +246,12 @@ static void __init lubbock_init(void)
 }
 
 static struct map_desc lubbock_io_desc[] __initdata = {
-  { LUBBOCK_FPGA_VIRT, LUBBOCK_FPGA_PHYS, 0x00100000, MT_DEVICE }, /* CPLD */
+       {       /* CPLD */
+               .virtual        =  LUBBOCK_FPGA_VIRT,
+               .pfn            = __phys_to_pfn(LUBBOCK_FPGA_PHYS),
+               .length         = 0x00100000,
+               .type           = MT_DEVICE
+       }
 };
 
 static void __init lubbock_map_io(void)
This page took 0.023207 seconds and 5 git commands to generate.