]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9219/1: fix undeclared soft_restart
authorBen Dooks <ben-linux@fluff.org>
Sun, 24 Jul 2022 22:39:22 +0000 (23:39 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 28 Jul 2022 14:09:17 +0000 (15:09 +0100)
commit4a0c02f1d7227fbad589541a99afcd5088f2f5f2
treeed74d860bac5cba323501f0495b5aa575dd77618
parentdc8567ae624ccff89cf5f6c4f3cc6ff78e1e91bc
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>
arch/arm/kernel/reboot.c