Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[pandora-kernel.git] / arch / arm / mach-imx / mm-imx1.c
index 9be92b9..729ae09 100644 (file)
 #include <mach/hardware.h>
 
 static struct map_desc imx_io_desc[] __initdata = {
-       {
-               .virtual = MX1_IO_BASE_ADDR_VIRT,
-               .pfn = __phys_to_pfn(MX1_IO_BASE_ADDR),
-               .length = MX1_IO_SIZE,
-               .type = MT_DEVICE
-       }
+       imx_map_entry(MX1, IO, MT_DEVICE),
 };
 
 void __init mx1_map_io(void)