]> www.infradead.org Git - users/dwmw2/linux.git/commit
sparc64: Fix prototype warnings in hibernate.c
authorAndreas Larsson <andreas@gaisler.com>
Wed, 10 Jul 2024 09:41:55 +0000 (11:41 +0200)
committerAndreas Larsson <andreas@gaisler.com>
Thu, 11 Jul 2024 13:58:28 +0000 (15:58 +0200)
commita3da15389112a28633e4c340e4841faab29df3b7
treec1595625e54c81938240c3299a34658a44e79845
parenta9f52913ac60e7fc14306e7149e6c4e81e771f92
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 <andreas@gaisler.com>
arch/sparc/power/hibernate.c