]> git.baikalelectronics.ru Git - kernel.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)
commit47abaa90b911aa1107175ad86ce064a89d7d6321
tree9e5d2dfaf19c133ebbfea672fc5f0baa4623afc3
parente68c25aa4c291092c235732e658299beee137c10
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