From: Tony Lindgren Date: Thu, 10 Nov 2005 01:47:44 +0000 (-0800) Subject: ARM: OMAP: Make 24xx boot again X-Git-Tag: v2.6.15-omap2~97 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4f3b5804a369e28946f326c5f7967017e76bcae8;p=linux-2.6-omap-h63xx.git ARM: OMAP: Make 24xx boot again Make 24xx boot again --- diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 99492c64d90..8ea67bf196a 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c @@ -29,8 +29,18 @@ extern void omap2_check_revision(void); * default mapping provided here. */ static struct map_desc omap2_io_desc[] __initdata = { - { L3_24XX_VIRT, L3_24XX_PHYS, L3_24XX_SIZE, MT_DEVICE }, - { L4_24XX_VIRT, L4_24XX_PHYS, L4_24XX_SIZE, MT_DEVICE }, + { + .virtual = L3_24XX_VIRT, + .pfn = __phys_to_pfn(L3_24XX_PHYS), + .length = L3_24XX_SIZE, + .type = MT_DEVICE + }, + { + .virtual = L4_24XX_VIRT, + .pfn = __phys_to_pfn(L4_24XX_PHYS), + .length = L4_24XX_SIZE, + .type = MT_DEVICE + } }; void __init omap_map_common_io(void)