]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-h720x/common.c
Merge branch 'srp' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
[linux-2.6-omap-h63xx.git] / arch / arm / mach-h720x / common.c
index 5110e2e65ddd3176a78c4880daaec219d4eae138..c096b45693084f4bbab9a15ed3c20dadb32ce0c2 100644 (file)
@@ -237,7 +237,12 @@ void __init h720x_init_irq (void)
 }
 
 static struct map_desc h720x_io_desc[] __initdata = {
-       { IO_VIRT, IO_PHYS, IO_SIZE, MT_DEVICE },
+       {
+               .virtual        = IO_VIRT,
+               .pfn            = __phys_to_pfn(IO_PHYS),
+               .length         = IO_SIZE,
+               .type           = MT_DEVICE
+       },
 };
 
 /* Initialize io tables */