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-Tag: v4.14-rc1~913^2~195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fc439c81312cd27aed553964c0d9d48946582ce;p=platform%2Fkernel%2Flinux-rpi.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 6ae9bd5..0050b2d 100644 --- a/arch/powerpc/kernel/swsusp.c +++ b/arch/powerpc/kernel/swsusp.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include