Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152962953
D38566.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
961 B
Referenced Files
None
Subscribers
None
D38566.id.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h
--- a/sys/compat/linuxkpi/common/include/linux/device.h
+++ b/sys/compat/linuxkpi/common/include/linux/device.h
@@ -48,13 +48,13 @@
#include <linux/pm.h>
#include <linux/idr.h>
#include <linux/ratelimit.h> /* via linux/dev_printk.h */
+#include <linux/fwnode.h>
#include <asm/atomic.h>
#include <sys/bus.h>
#include <sys/backlight.h>
struct device;
-struct fwnode_handle;
struct class {
const char *name;
diff --git a/sys/compat/linuxkpi/common/include/linux/fwnode.h b/sys/compat/linuxkpi/common/include/linux/fwnode.h
new file mode 100644
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/fwnode.h
@@ -0,0 +1,10 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_LINUX_FWNODE_H_
+#define _LINUXKPI_LINUX_FWNODE_H_
+
+struct fwnode_handle {
+ struct fwnode_handle *secondary;
+};
+
+#endif /* _LINUXKPI_LINUX_FWNODE_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 8:51 AM (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31757479
Default Alt Text
D38566.id.diff (961 B)
Attached To
Mode
D38566: linuxkpi: Declare `struct fwnode_handle` in <linux/fwnode.h>
Attached
Detach File
Event Timeline
Log In to Comment