diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-12-02 16:22:09 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-12-02 22:33:06 +0100 |
commit | 3ba13f3f1f92410943161b5c13347847e79623e1 (patch) | |
tree | 266fc86ef03f9b54a912527cebf131ba7ac0fffc | |
parent | f9e93ec451a3bfe5006ff89db80c5ab316525347 (diff) | |
download | asm-generic-mips-prototypes.tar.gz |
mips: kexec: include linux/reboot.hmips-prototypes
Two functions are provided for kexec, but the mips implementation is
missing the corresponding #include statment:
arch/mips/kernel/machine_kexec.c:136:1: error: no previous prototype for 'machine_shutdown' [-Werror=missing-prototypes]
arch/mips/kernel/machine_kexec.c:152:1: error: no previous prototype for 'machine_crash_shutdown' [-Werror=missing-prototypes]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/mips/kernel/machine_kexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c index 432bfd3e7f220a..4e3579bbd6200b 100644 --- a/arch/mips/kernel/machine_kexec.c +++ b/arch/mips/kernel/machine_kexec.c @@ -8,6 +8,7 @@ #include <linux/mm.h> #include <linux/delay.h> #include <linux/libfdt.h> +#include <linux/reboot.h> #include <asm/cacheflush.h> #include <asm/page.h> |