Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2023 21:39:00 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-main@FreeBSD.org
Subject:   git: 270a13348065 - main - linuxkpi: Add `pm_suspend_via_firmware()`
Message-ID:  <202301252139.30PLd0ww007530@gitrepo.freebsd.org>

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



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