summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/arm64-mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/arm64-mmu.c')
-rw-r--r--arch/arm/mach-tegra/arm64-mmu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/arm64-mmu.c b/arch/arm/mach-tegra/arm64-mmu.c
index a79a5192e0..3a126bdec4 100644
--- a/arch/arm/mach-tegra/arm64-mmu.c
+++ b/arch/arm/mach-tegra/arm64-mmu.c
@@ -12,7 +12,8 @@
#include <asm/system.h>
#include <asm/armv8/mmu.h>
-static struct mm_region tegra_mem_map[] = {
+/* size: IO + NR_DRAM_BANKS + terminator */
+struct mm_region tegra_mem_map[1 + CONFIG_NR_DRAM_BANKS + 1] = {
{
.virt = 0x0UL,
.phys = 0x0UL,