diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-03-06 19:25:31 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-03-20 19:02:49 +1100 |
commit | 1fc439c81312cd27aed553964c0d9d48946582ce (patch) | |
tree | 9e5d2dfaf19c133ebbfea672fc5f0baa4623afc3 /arch/powerpc/kernel/swsusp.c | |
parent | 017614a5d6c09ec9e0dc3fd46a5018c20b407d92 (diff) | |
download | op-kernel-dev-1fc439c81312cd27aed553964c0d9d48946582ce.zip op-kernel-dev-1fc439c81312cd27aed553964c0d9d48946582ce.tar.gz |
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 <me@tobin.cc>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/swsusp.c')
-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 6ae9bd5..0050b2d 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> |