From 8b1ad52b2390eedaba1574f6f5c7818fc9a909d3 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Mon, 12 Mar 2007 16:40:23 +0000 Subject: [PATCH] Fixed missing semaphore initialization. --- master/module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/master/module.c b/master/module.c index cf7d6890..bccd63b9 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