master/module.c
changeset 653 33aa0e7e5a68
parent 648 0a6d38ec463f
child 700 a6b61f1a062d
--- a/master/module.c	Mon Mar 12 13:59:23 2007 +0000
+++ b/master/module.c	Mon Mar 12 16:40:23 2007 +0000
@@ -107,6 +107,8 @@
 
     EC_INFO("Master driver %s\n", EC_MASTER_VERSION);
 
+    init_MUTEX(&master_sem);
+
     // init kobject and add it to the hierarchy
     memset(&kobj, 0x00, sizeof(struct kobject));
     kobject_init(&kobj); // no ktype