]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-clps711x/mm.c
Pull battery into release branch
[karo-tx-linux.git] / arch / arm / mach-clps711x / mm.c
index 120b7cac84b5bf8975a0b985a9ec7879066ba363..a00f77ef8df83cdd3a6d530b7e1414eb0dfe0b75 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/init.h>
 #include <linux/bootmem.h>
 
+#include <asm/sizes.h>
 #include <asm/hardware.h>
 #include <asm/pgtable.h>
 #include <asm/page.h>
  * This maps the generic CLPS711x registers
  */
 static struct map_desc clps711x_io_desc[] __initdata = {
- { CLPS7111_VIRT_BASE, CLPS7111_PHYS_BASE,     1048576, MT_DEVICE }
+       {
+               .virtual        = CLPS7111_VIRT_BASE,
+               .pfn            = __phys_to_pfn(CLPS7111_PHYS_BASE),
+               .length         = SZ_1M,
+               .type           = MT_DEVICE
+       }
 };
 
 void __init clps711x_map_io(void)