Page MenuHomeFreeBSD

D45610.id.diff
No OneTemporary

D45610.id.diff

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

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)

Event Timeline