]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/swsusp: Include suspend.h to silence sparse warnings
authorTobin C. Harding <me@tobin.cc>
Mon, 6 Mar 2017 08:25:31 +0000 (19:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Mar 2017 08:02:49 +0000 (19:02 +1100)
commit1fc439c81312cd27aed553964c0d9d48946582ce
tree9e5d2dfaf19c133ebbfea672fc5f0baa4623afc3
parent017614a5d6c09ec9e0dc3fd46a5018c20b407d92
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>
arch/powerpc/kernel/swsusp.c