Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144288059
D50991.id157482.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
510 B
Referenced Files
None
Subscribers
None
D50991.id157482.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
--- a/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
+++ b/sys/compat/linuxkpi/common/include/linux/pm_runtime.h
@@ -34,8 +34,13 @@
return 1;
}
+#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION < 60900
static inline int
pm_runtime_get_if_active(struct device *dev, bool x)
+#else
+static inline int
+pm_runtime_get_if_active(struct device *dev)
+#endif
{
return 1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 4:10 PM (10 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28471254
Default Alt Text
D50991.id157482.diff (510 B)
Attached To
Mode
D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9
Attached
Detach File
Event Timeline
Log In to Comment