kobject: convert /sys/firmware/acpi/ to use kobject_create
[sfrench/cifs-2.6.git] / drivers / acpi / system.c
index edee2806e37bcec904e6640a90fb2423b981260c..c22b93aab7fe574fb3d772ed3e799545deb8d540 100644 (file)
@@ -135,7 +135,7 @@ static int acpi_system_sysfs_init(void)
        int table_index = 0;
        int result;
 
-       tables_kobj.parent = &acpi_subsys.kobj;
+       tables_kobj.parent = acpi_kobj;
        kobject_set_name(&tables_kobj, "tables");
        result = kobject_register(&tables_kobj);
        if (result)