diff mbox series

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

Message ID VI1PR07MB44320C0A8BF43B054BA3D71CFD070@VI1PR07MB4432.eurprd07.prod.outlook.com (mailing list archive)
State New, archived
Headers show
Series arm: add missing include <asm/system_misc.h> | expand

Commit Message

Philippe Mazenauer May 21, 2019, 2:27 p.m. UTC
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 <philippe.mazenauer@outlook.de>
---
 arch/arm/kernel/reboot.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>