git: b813eb15d5b0 - stable/13 - linuxkpi: Add `pm_suspend_via_firmware()`

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Thu, 16 Feb 2023 11:55:45 UTC
The branch stable/13 has been updated by dumbbell (ports committer):

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

commit b813eb15d5b07fc5e2e226056c995d3cc08f4160
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-11 22:23:35 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-02-16 11:55:12 +0000

    linuxkpi: Add `pm_suspend_via_firmware()`
    
    Reviewed by:    manu
    Approved by:    manu
    Differential Revision:  https://reviews.freebsd.org/D38084
    
    (cherry picked from commit 270a13348065ebf2f02fbf88a02d42fa63a245fc)
---
 sys/compat/linuxkpi/common/include/linux/suspend.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/suspend.h b/sys/compat/linuxkpi/common/include/linux/suspend.h
new file mode 100644
index 000000000000..5c15b0619bd0
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/suspend.h
@@ -0,0 +1,12 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_LINUX_SUSPEND_H_
+#define _LINUXKPI_LINUX_SUSPEND_H_
+
+static inline int
+pm_suspend_via_firmware()
+{
+	return 0;
+}
+
+#endif	/* _LINUXKPI_LINUX_SUSPEND_H_ */