Skip to content
Snippets Groups Projects
Commit f9e31472 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed missing semaphore initialization.

parent 0e0e9e45
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,8 @@ int __init ec_init_module(void) ...@@ -107,6 +107,8 @@ int __init ec_init_module(void)
EC_INFO("Master driver %s\n", EC_MASTER_VERSION); EC_INFO("Master driver %s\n", EC_MASTER_VERSION);
init_MUTEX(&master_sem);
// init kobject and add it to the hierarchy // init kobject and add it to the hierarchy
memset(&kobj, 0x00, sizeof(struct kobject)); memset(&kobj, 0x00, sizeof(struct kobject));
kobject_init(&kobj); // no ktype kobject_init(&kobj); // no ktype
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment