From: Andreas Larsson Date: Wed, 10 Jul 2024 09:41:55 +0000 (+0200) Subject: sparc64: Fix prototype warnings in hibernate.c X-Git-Tag: v6.11-rc1~125^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3da15389112a28633e4c340e4841faab29df3b7;p=thirdparty%2Fkernel%2Flinux.git 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/20240710094155.458731-5-andreas@gaisler.com Signed-off-by: Andreas Larsson --- diff --git a/arch/sparc/power/hibernate.c b/arch/sparc/power/hibernate.c index 47b06f4af1f91..da8e2bc2e516a 100644 --- a/arch/sparc/power/hibernate.c +++ b/arch/sparc/power/hibernate.c @@ -5,6 +5,7 @@ * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) */ +#include #include #include