ARM: 9307/1: nommu: include asm/idmap.h
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Jun 2023 18:28:57 +0000 (19:28 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 19 Jun 2023 08:35:54 +0000 (09:35 +0100)
commit3665f85e1c9a6a1133a9b0b173d8cd42874290f1
tree5a16f6a7d302e62d70a707626ee07b7e6a583e8f
parent57ea76fd1ca072b3024f55cb461628d982acf873
ARM: 9307/1: nommu: include asm/idmap.h

setup_mm_for_reboot() is declared in asm/idmap.h but that is not included
for the definition, causing a W=1 warning:

arch/arm/mm/nommu.c:178:6: error: no previous prototype for 'setup_mm_for_reboot' [-Werror=missing-prototypes]

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/nommu.c