Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fc439c8 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Michael Ellerman
Browse files

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: default avatarTobin C. Harding <me@tobin.cc>
Reviewed-by: default avatarDaniel Axtens <dja@axtens.net>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 017614a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -10,6 +10,7 @@
 */
 */


#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/suspend.h>
#include <asm/current.h>
#include <asm/current.h>
#include <asm/mmu_context.h>
#include <asm/mmu_context.h>
#include <asm/switch_to.h>
#include <asm/switch_to.h>