Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108031852
D35264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D35264.diff
View Options
diff --git a/misc/dahdi-kmod26/files/patch-include-linux-module.h b/misc/dahdi-kmod26/files/patch-include-linux-module.h
--- a/misc/dahdi-kmod26/files/patch-include-linux-module.h
+++ b/misc/dahdi-kmod26/files/patch-include-linux-module.h
@@ -1,6 +1,21 @@
---- include/linux/module.h.orig 2015-03-22 00:59:45.757428000 +0600
-+++ include/linux/module.h 2015-03-22 01:00:08.597762000 +0600
-@@ -47,7 +47,7 @@
+--- include/linux/module.h.orig 2012-03-26 17:40:58 UTC
++++ include/linux/module.h
+@@ -38,16 +38,22 @@ int _linux_module_modevent(struct module *mod, int typ
+ _LINUX_MODULE(name); \
+ DEV_MODULE(name, _linux_module_modevent, THIS_MODULE)
+
++#if __FreeBSD_version >= 1400058
+ #define LINUX_DRIVER_MODULE(name, busname, driver, devclass) \
+ _LINUX_MODULE(name); \
++ DRIVER_MODULE(name, busname, driver, _linux_module_modevent, THIS_MODULE);
++#else
++#define LINUX_DRIVER_MODULE(name, busname, driver, devclass) \
++ _LINUX_MODULE(name); \
+ DRIVER_MODULE(name, busname, driver, devclass, _linux_module_modevent, THIS_MODULE);
++#endif
+
+ void _linux_module_ptr_sysinit(void *arg);
+
#define _module_ptr_args __CONCAT(_module_ptr_args_, __LINE__)
#define _module_ptr_init(field, val) \
static struct module_ptr_args _module_ptr_args = { \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 21, 5:58 PM (20 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16018346
Default Alt Text
D35264.diff (1 KB)
Attached To
Mode
D35264: misc/dahdi-kmod26: Remove unused DRIVER_MODULE devclass on recent main.
Attached
Detach File
Event Timeline
Log In to Comment