git: 4d77927e2af3 - main - linuxkpi: Use a proper declaration for pm_suspend_via_firmware.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 03:41:45 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=4d77927e2af3a991c5b07071b7fe18673d7742f2

commit 4d77927e2af3a991c5b07071b7fe18673d7742f2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-01-28 03:29:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-28 03:41:35 +0000

    linuxkpi: Use a proper declaration for pm_suspend_via_firmware.
    
    Reported by:    GCC -Wstrict-prototypes
---
 sys/compat/linuxkpi/common/include/linux/suspend.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/suspend.h b/sys/compat/linuxkpi/common/include/linux/suspend.h
index 8458a6f6d4c5..9bd6c2c55875 100644
--- a/sys/compat/linuxkpi/common/include/linux/suspend.h
+++ b/sys/compat/linuxkpi/common/include/linux/suspend.h
@@ -11,7 +11,7 @@ extern suspend_state_t pm_suspend_target_state;
 #define	PM_SUSPEND_TO_IDLE	1
 
 static inline int
-pm_suspend_via_firmware()
+pm_suspend_via_firmware(void)
 {
 	return 0;
 }