From: Arnd Bergmann Date: Fri, 2 Jun 2023 18:28:57 +0000 (+0100) Subject: ARM: 9307/1: nommu: include asm/idmap.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3665f85e1c9a6a1133a9b0b173d8cd42874290f1;p=linux.git 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 Signed-off-by: Arnd Bergmann Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 53f2d8774fdb9..43cfd06bbebad 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "mm.h"