Page MenuHomeFreeBSD

D53400.id165229.diff
No OneTemporary

D53400.id165229.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/pm.h b/sys/compat/linuxkpi/common/include/linux/pm.h
--- a/sys/compat/linuxkpi/common/include/linux/pm.h
+++ b/sys/compat/linuxkpi/common/include/linux/pm.h
@@ -97,4 +97,18 @@
pr_debug("%s: TODO\n", __func__);
}
+/*
+ * We do not need to specify anything here as a VT switch always happens on
+ * suspend/resume.
+ */
+static inline void
+pm_vt_switch_required(struct device *dev __unused, bool required __unused)
+{
+}
+
+static inline void
+pm_vt_switch_unregister(struct device *dev __unused)
+{
+}
+
#endif /* _LINUXKPI_LINUX_PM_H */

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 2, 3:27 AM (18 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29138834
Default Alt Text
D53400.id165229.diff (599 B)

Event Timeline