summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/kern/kern_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/kern/kern_module.c')
-rw-r--r--freebsd/sys/kern/kern_module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/freebsd/sys/kern/kern_module.c b/freebsd/sys/kern/kern_module.c
index 58a2f83a..81686061 100644
--- a/freebsd/sys/kern/kern_module.c
+++ b/freebsd/sys/kern/kern_module.c
@@ -28,8 +28,6 @@
* SUCH DAMAGE.
*/
-#include <rtems/bsd/local/opt_compat.h>
-
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -99,7 +97,7 @@ module_init(void *arg)
#endif /* __rtems__ */
}
-SYSINIT(module, SI_SUB_KLD, SI_ORDER_FIRST, module_init, 0);
+SYSINIT(module, SI_SUB_KLD, SI_ORDER_FIRST, module_init, NULL);
#ifndef __rtems__
static void