diff options
author | Tobin C. Harding <[email protected]> | 2017-03-06 19:25:31 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2017-03-20 19:02:49 +1100 |
commit | 1fc439c81312cd27aed553964c0d9d48946582ce (patch) | |
tree | 9e5d2dfaf19c133ebbfea672fc5f0baa4623afc3 | |
parent | 017614a5d6c09ec9e0dc3fd46a5018c20b407d92 (diff) |
powerpc/swsusp: Include suspend.h to silence sparse warnings
Sparse emits two symbol not declared warnings for swsusp.c. The two
functions, save_processor_state() and restore_processor_state() are
declared already in suspend.h, so include it.
Signed-off-by: Tobin C. Harding <[email protected]>
Reviewed-by: Daniel Axtens <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
-rw-r--r-- | arch/powerpc/kernel/swsusp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c index 6ae9bd5086a4..0050b2d2ff7a 100644 --- a/arch/powerpc/kernel/swsusp.c +++ b/arch/powerpc/kernel/swsusp.c @@ -10,6 +10,7 @@ */ #include <linux/sched.h> +#include <linux/suspend.h> #include <asm/current.h> #include <asm/mmu_context.h> #include <asm/switch_to.h> |