Whamcloud - gitweb
fix module initialization
[fs/lustre-release.git] / lustre / obdclass / llog_test.c
index 53e4469..471db4d 100644 (file)
@@ -686,7 +686,8 @@ static int __init llog_test_init(void)
         struct lprocfs_static_vars lvars;
 
         lprocfs_init_vars(llog_test, &lvars);
-        return class_register_type(&llog_obd_ops,lvars.module_vars,"llog_test");
+        return class_register_type(&llog_obd_ops,
+                                   lvars.module_vars,"llog_test", NULL);
 }
 
 static void __exit llog_test_exit(void)