Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162269976
D57577.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
580 B
Referenced Files
None
Subscribers
None
D57577.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/acpi.h b/sys/compat/linuxkpi/common/include/linux/acpi.h
--- a/sys/compat/linuxkpi/common/include/linux/acpi.h
+++ b/sys/compat/linuxkpi/common/include/linux/acpi.h
@@ -44,6 +44,14 @@
static inline void acpi_dev_put(struct acpi_device *adev) {}
#define acpi_handle_debug(handle, fmt, ...)
+static inline struct acpi_device *
+to_acpi_device_node(const struct fwnode_handle *fwnode)
+{
+ return (NULL);
+}
+
+#define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode)
+
#endif
#endif /* _LINUXKPI_LINUX_ACPI_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 1:36 PM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33966382
Default Alt Text
D57577.diff (580 B)
Attached To
Mode
D57577: linuxkpi: Add `to_acpi_device_node()` and `ACPI_COMPANION()`
Attached
Detach File
Event Timeline
Log In to Comment