Skip to contentSkip to conversation

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

PATCH New Ben Dooks 1 participant 1 message Oct 8, 2019 Arm (32-bit)

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

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

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?

---
KernelVersion: 5.4-rc2

---
 arch/arm/kernel/reboot.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/kernel/reboot.c +1 -0
index bb18ed0539f4..2abdb621ead1 100644
@@ -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>
 
Signature · 7 lines
2.23.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel