Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178110763
D50991.1795989712.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
510 B
Referenced Files
None
Subscribers
None
D50991.1795989712.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, Nov 29, 10:01 PM (4 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42097099
Default Alt Text
D50991.1795989712.diff (510 B)
Attached To
Mode
D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9
Attached
Detach File
Event Timeline