Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:55:45 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b813eb15d5b0 - stable/13 - linuxkpi: Add `pm_suspend_via_firmware()`
Message-ID:  <202302161155.31GBtjfF055024@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302161155.31GBtjfF055024>