Page MenuHomeFreeBSD

D53400.1775486568.diff
No OneTemporary

Size
599 B
Referenced Files
None
Subscribers
None

D53400.1775486568.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, Apr 6, 2:42 PM (12 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28270458
Default Alt Text
D53400.1775486568.diff (599 B)

Event Timeline