X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fbase%2Fclass.c;h=5667c2f02c51b2249fdac0d69fc7fd0a8fe4dfd0;hb=55d8460c921ed725f5bf46c826a6bddbe8a75c46;hp=839d27cecb36c8acb3bf8e9e4880ba720e6fe53b;hpb=a4e0d9af403d099e751797f6cc69e4a8e2d78ef1;p=linux-2.6 diff --git a/drivers/base/class.c b/drivers/base/class.c index 839d27cecb..5667c2f02c 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -198,6 +198,7 @@ static void class_create_release(struct class *cls) * class_create - create a struct class structure * @owner: pointer to the module that is to "own" this struct class * @name: pointer to a string for the name of this class. + * @key: the lock_class_key for this class; used by mutex lock debugging * * This is used to create a struct class pointer that can then be used * in calls to device_create().