* [PATCH] arm: add missing include <asm/system_misc.h>
@ 2019-05-21 14:27 Philippe Mazenauer
0 siblings, 0 replies; only message in thread
From: Philippe Mazenauer @ 2019-05-21 14:27 UTC (permalink / raw)
Cc: Philippe Mazenauer, Russell King, moderated list:ARM PORT, open list
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 --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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-21 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 14:27 [PATCH] arm: add missing include <asm/system_misc.h> Philippe Mazenauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).