diff mbox series

arm: reboot.c: include <asm/system_misc.h> for arm_pm_restart

Message ID 20191008165005.5535-1-ben.dooks@codethink.co.uk (mailing list archive)
State New, archived
Headers show
Series arm: reboot.c: include <asm/system_misc.h> for arm_pm_restart | expand

Commit Message

Ben Dooks Oct. 8, 2019, 4:50 p.m. UTC
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 mbox series

Patch

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>