From: Ben Dooks Date: Sun, 24 Jul 2022 22:39:22 +0000 (+0100) Subject: ARM: 9219/1: fix undeclared soft_restart X-Git-Tag: v6.1-rc5~715^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe520635ddc4377e84f78c6cf1c54393f1dfa33b;p=platform%2Fkernel%2Flinux-starfive.git ARM: 9219/1: fix undeclared soft_restart The soft_restart() is declared in so include that to fix the following sparse warning: arch/arm/kernel/reboot.c:78:6: warning: symbol 'soft_restart' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 2cb943422554..3f0d5c3dae11 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c @@ -10,6 +10,7 @@ #include #include #include +#include #include "reboot.h"