diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/sram.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 7719a4062e3a..7ad69f14a3e7 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c | |||
@@ -59,7 +59,11 @@ void __init omap_detect_sram(void) | |||
59 | } | 59 | } |
60 | 60 | ||
61 | static struct map_desc omap_sram_io_desc[] __initdata = { | 61 | static struct map_desc omap_sram_io_desc[] __initdata = { |
62 | { OMAP1_SRAM_BASE, OMAP1_SRAM_START, 0, MT_DEVICE } | 62 | { /* .length gets filled in at runtime */ |
63 | .virtual = OMAP1_SRAM_BASE, | ||
64 | .pfn = __phys_to_pfn(OMAP1_SRAM_START), | ||
65 | .type = MT_DEVICE | ||
66 | } | ||
63 | }; | 67 | }; |
64 | 68 | ||
65 | /* | 69 | /* |