From: Tobin C. Harding Date: Mon, 6 Mar 2017 08:25:31 +0000 (+1100) Subject: powerpc/swsusp: Include suspend.h to silence sparse warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1fc439c81312cd27aed553964c0d9d48946582ce;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Daniel Axtens Signed-off-by: Michael Ellerman --- 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 +#include #include #include #include