* [PATCH] arm: reboot.c: include <asm/system_misc.h> for arm_pm_restart
@ 2019-10-08 16:50 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2019-10-08 16:50 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: linux-kernel, Ben Dooks, linux
In reboot.c it defines arm_pm_restart, which is defined in
the <asm/system_misc.h> header. Remove the following warning
by including <asm/system_misc.h> file:
arch/arm/kernel/reboot.c:21:6: warning: symbol 'arm_pm_restart' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
KernelVersion: 5.4-rc2
---
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 bb18ed0539f4..2abdb621ead1 100644
--- a/arch/arm/kernel/reboot.c
+++ b/arch/arm/kernel/reboot.c
@@ -8,6 +8,7 @@
#include <linux/reboot.h>
#include <asm/cacheflush.h>
+#include <asm/system_misc.h>
#include <asm/idmap.h>
#include <asm/virt.h>
--
2.23.0
_______________________________________________
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-10-08 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-08 16:50 [PATCH] arm: reboot.c: include <asm/system_misc.h> for arm_pm_restart Ben Dooks
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).