summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mmu.h
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2022-01-01 19:13:29 +0200
committerTom Rini <trini@konsulko.com>2022-01-18 08:31:02 -0500
commit2fd81be11c9042fa072d1a616c928c406746f68c (patch)
tree39205ba09c571c615d7a0aaed6bd491ec2f31e10 /arch/arm/include/asm/mmu.h
parent1b212bb9f4bf55f58ed230a444e51204f1fa8b02 (diff)
common: board_r: move init_addr_map() to init.h
asm/mmu.h include is currently guarded by CONFIG_ADDR_MAP ifdef because the header is only present on arm and powerpc. In order to remove the dependency on this header and the associated ifdef, move init_addr_map() declaration to init.h, since it is only called during the common init sequence. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'arch/arm/include/asm/mmu.h')
-rw-r--r--arch/arm/include/asm/mmu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/include/asm/mmu.h b/arch/arm/include/asm/mmu.h
deleted file mode 100644
index 8449720fadb..00000000000
--- a/arch/arm/include/asm/mmu.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-
-#ifndef __ASM_ARM_MMU_H
-#define __ASM_ARM_MMU_H
-
-int init_addr_map(void);
-
-#endif