diff options
author | Arnd Bergmann <[email protected]> | 2023-12-04 12:57:07 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-12-10 17:21:41 -0800 |
commit | a3075dcb1757e641321290ea62197d2f8b185c45 (patch) | |
tree | 8586226a2df9e82fd85a237453b1c81c281544f8 /arch/mips/power/cpu.c | |
parent | 4666cf018a26d89f2ee1ad6023227caa37f1a799 (diff) |
mips: suspend: include linux/suspend.h as needed
A couple of functions are defined by the architecture and declared in
linux/suspend.h, but mips is lacking the corresponding #include statement
before the definition:
arch/mips/power/cpu.c:16:6: warning: no previous prototype for 'save_processor_state' [-Wmissing-prototypes]
arch/mips/power/cpu.c:26:6: warning: no previous prototype for 'restore_processor_state' [-Wmissing-prototypes]
arch/mips/power/cpu.c:36:5: warning: no previous prototype for 'pfn_is_nosave' [-Wmissing-prototypes]
arch/mips/power/hibernate.c:6:5: warning: no previous prototype for 'swsusp_arch_resume' [-Wmissing-prototypes]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/mips/power/cpu.c')
-rw-r--r-- | arch/mips/power/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/power/cpu.c b/arch/mips/power/cpu.c index a15e29dfc7b3..d8ef7778e535 100644 --- a/arch/mips/power/cpu.c +++ b/arch/mips/power/cpu.c @@ -6,6 +6,7 @@ * Author: Hu Hongbing <[email protected]> * Wu Zhangjin <[email protected]> */ +#include <linux/suspend.h> #include <asm/sections.h> #include <asm/fpu.h> #include <asm/dsp.h> |