[PATCH] arm: add missing include <asm/system_misc.h>

DORMANTno replies

From: Philippe Mazenauer <hidden>
Date: 2019-05-21 14:27:25
Also in: lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Include corresponding header file <asm/system_misc.h> for function
soft_restart().

../arch/arm/kernel/reboot.c:82:6: warning: no previous prototype for ‘soft_restart’ [-Wmissing-prototypes]
 void soft_restart(unsigned long addr)
      ^~~~~~~~~~~~

Signed-off-by: Philippe Mazenauer <redacted>
---
 arch/arm/kernel/reboot.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c
index 3b2aa9a9fe26..8aca61faca37 100644
--- a/arch/arm/kernel/reboot.c
+++ b/arch/arm/kernel/reboot.c
@@ -10,6 +10,7 @@
 #include <linux/delay.h>
 #include <linux/reboot.h>
 
+#include <asm/system_misc.h>
 #include <asm/cacheflush.h>
 #include <asm/idmap.h>
 #include <asm/virt.h>
-- 
2.17.1

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help