diff --git a/master/module.c b/master/module.c index cf7d6890cd6fce923ed4584fd8561f37b5396a61..bccd63b9fca0aceefab0b1986329a9393be23cb4 100644 --- a/master/module.c +++ b/master/module.c @@ -107,6 +107,8 @@ int __init ec_init_module(void) 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