]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/main.c
Added support for KVASER PCICAN-S/D/Q cards.
[lincan.git] / lincan / src / main.c
index 38a0ec0d56b78f6f47b302e075bc3ead14c7e2e8..817d6787847ca6c4c6a2376072c5c2596f48848d 100644 (file)
@@ -102,6 +102,9 @@ MODULE_LICENSE("GPL");
 #ifdef MODULE_DESCRIPTION
 MODULE_DESCRIPTION("Universal Linux CAN-bus device driver");
 #endif
+#ifdef MODULE_AUTHOR
+MODULE_AUTHOR("Pavel Pisa <pisa@cmp.felk.cvut.cz>, Arnaud Westenberg");
+#endif
 
 /* Global structures, used to describe the installed hardware. */
 struct canhardware_t canhardware;
@@ -160,6 +163,7 @@ int init_module(void)
        if (parse_mod_parms())
                return -EINVAL;
 
+       can_spin_lock_init(&canuser_manipulation_lock);
        canqueue_kern_initialize();
 
        if (init_hw_struct())