arm: reboot.c: include <asm/system_misc.h> for arm_pm_restart
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?
Signed-off-by Ben Dooks <[email protected]>
---
KernelVersion: 5.4-rc2
--- arch/arm/kernel/reboot.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/kernel/reboot.c +1 -0
@@ -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