Skip to content

Commit a3da153

Browse files
sparc64: Fix prototype warnings in hibernate.c
Fix the following warnings: arch/sparc/power/hibernate.c:22:5: warning: no previous prototype for ‘pfn_is_nosave’ arch/sparc/power/hibernate.c:30:6: warning: no previous prototype for ‘save_processor_state’ arch/sparc/power/hibernate.c:35:6: warning: no previous prototype for ‘restore_processor_state’ The prototypes are available from linux/suspend.h so include that. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andreas Larsson <[email protected]>
1 parent a9f5291 commit a3da153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/sparc/power/hibernate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Copyright (C) 2013 Kirill V Tkhai ([email protected])
66
*/
77

8+
#include <linux/suspend.h>
89
#include <linux/mm.h>
910

1011
#include <asm/hibernate.h>

0 commit comments

Comments
 (0)