kobject: convert kernel_kset to be a kobject
[linux-3.10.git] / fs / configfs / mount.c
index c4ee7f0..54bf0db 100644 (file)
@@ -140,7 +140,7 @@ static int __init configfs_init(void)
        if (!configfs_dir_cachep)
                goto out;
 
-       config_kobj = kobject_create_and_add("config", &kernel_kset->kobj);
+       config_kobj = kobject_create_and_add("config", kernel_kobj);
        if (!config_kobj) {
                kmem_cache_destroy(configfs_dir_cachep);
                configfs_dir_cachep = NULL;