]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-sa1100/neponset.c
[ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100
[karo-tx-linux.git] / arch / arm / mach-sa1100 / neponset.c
index fc061641b7be083cb44d89e33fa22c3826e9c272..0c5eff3bdc09c14996a1c7c309de59cb31314425 100644 (file)
@@ -331,9 +331,17 @@ static int __init neponset_init(void)
 subsys_initcall(neponset_init);
 
 static struct map_desc neponset_io_desc[] __initdata = {
- /* virtual     physical    length type */
-  { 0xf3000000, 0x10000000, SZ_1M, MT_DEVICE }, /* System Registers */
-  { 0xf4000000, 0x40000000, SZ_1M, MT_DEVICE }  /* SA-1111 */
+       {       /* System Registers */
+               .virtual        =  0xf3000000,
+               .pfn            = __phys_to_pfn(0x10000000),
+               .length         = SZ_1M,
+               .type           = MT_DEVICE
+       }, {    /* SA-1111 */
+               .virtual        =  0xf4000000,
+               .pfn            = __phys_to_pfn(0x40000000),
+               .length         = SZ_1M,
+               .type           = MT_DEVICE
+       }
 };
 
 void __init neponset_map_io(void)