Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163264594
D45610.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
501 B
Referenced Files
None
Subscribers
None
D45610.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
@@ -343,6 +343,9 @@
}
struct class *class_create(struct module *owner, const char *name);
+#if defined(LINUXKPI_VERSION) && LINUXKPI_VERSION >= 60400
+#define class_create(name) class_create(NULL, name)
+#endif
static inline int
class_register(struct class *class)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 2:01 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35366361
Default Alt Text
D45610.id.diff (501 B)
Attached To
Mode
D45610: LinuxKPI: Remove owner argument from class_create function on KPI layer
Attached
Detach File
Event Timeline
Log In to Comment