Skip to content

Commit

Permalink
ARM: 9219/1: fix undeclared soft_restart
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
  • Loading branch information
Ben Dooks authored and Russell King (Oracle) committed Jul 28, 2022
1 parent 3437021 commit fe52063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <asm/cacheflush.h>
#include <asm/idmap.h>
#include <asm/virt.h>
#include <asm/system_misc.h>

#include "reboot.h"

Expand Down

0 comments on commit fe52063

Please sign in to comment.