summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2022-07-24 23:39:22 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-07-28 15:09:17 +0100
commitfe520635ddc4377e84f78c6cf1c54393f1dfa33b (patch)
treeed74d860bac5cba323501f0495b5aa575dd77618 /arch/arm
parent3437021484dd8f71685012d47c2d2de6f020e943 (diff)
downloadlinux-stable-fe520635ddc4377e84f78c6cf1c54393f1dfa33b.tar.gz
linux-stable-fe520635ddc4377e84f78c6cf1c54393f1dfa33b.tar.bz2
linux-stable-fe520635ddc4377e84f78c6cf1c54393f1dfa33b.zip
ARM: 9219/1: fix undeclared soft_restart
The soft_restart() is declared in <asm/system_misc.h> 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 <ben-linux@fluff.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/reboot.c1
1 files changed, 1 insertions, 0 deletions
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 <asm/cacheflush.h>
#include <asm/idmap.h>
#include <asm/virt.h>
+#include <asm/system_misc.h>
#include "reboot.h"