[ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x
[pandora-kernel.git] / arch / arm / mach-clps711x / cdb89712.c
index a46c82c..cba7be5 100644 (file)
  * ethernet driver, perhaps.
  */
 static struct map_desc cdb89712_io_desc[] __initdata = {
-       { ETHER_BASE, ETHER_START, ETHER_SIZE, MT_DEVICE }
+       {
+               .virtual        = ETHER_BASE,
+               .pfn            =__phys_to_pfn(ETHER_START),
+               .length         = ETHER_SIZE,
+               .type           = MT_DEVICE
+       }
 };
 
 static void __init cdb89712_map_io(void)