Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146252270
D53400.id165229.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
599 B
Referenced Files
None
Subscribers
None
D53400.id165229.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D53400: linuxkpi: add stub implementation of pm_vt_switch_(un)register
Attached
Detach File
Event Timeline
Log In to Comment