git: 270a13348065 - main - linuxkpi: Add `pm_suspend_via_firmware()`

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 21:39:00 UTC
The branch main has been updated by dumbbell (ports committer):

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

commit 270a13348065ebf2f02fbf88a02d42fa63a245fc
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-01-25 21:26:53 +0000

    linuxkpi: Add `pm_suspend_via_firmware()`
    
    Reviewed by:    manu
    Approved by:    manu
    Differential Revision:  https://reviews.freebsd.org/D38084
---
 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_ */