Fixed missing semaphore initialization.

This commit is contained in:
Florian Pose 2007-03-12 16:40:23 +00:00
parent d813370220
commit 8b1ad52b23
1 changed files with 2 additions and 0 deletions

View File

@ -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