Skip to content

Commit 3665f85

Browse files
arndbRussell King (Oracle)
authored andcommitted
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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent 57ea76f commit 3665f85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mm/nommu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <asm/cputype.h>
2222
#include <asm/mpu.h>
2323
#include <asm/procinfo.h>
24+
#include <asm/idmap.h>
2425

2526
#include "mm.h"
2627

0 commit comments

Comments
 (0)