[PARISC] kobject is embedded in subsys, not kset
authorKyle McMartin <kyle@parisc-linux.org>
Fri, 25 May 2007 23:18:01 +0000 (19:18 -0400)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Fri, 25 May 2007 23:18:01 +0000 (19:18 -0400)
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/parisc/pdc_stable.c

index 815e445c3125c3d3d3cd8ceaf220fbaa81912ede..924ef0609460f4a338e0423101741ab92f96c8e1 100644 (file)
@@ -1067,7 +1067,7 @@ pdc_stable_init(void)
                        error = subsys_create_file(&stable_subsys, attr);
        
        /* register the paths subsys as a subsystem of stable subsys */
-       kset_set_kset_s(&paths_subsys, stable_subsys);
+       kobj_set_kset_s(&paths_subsys, stable_subsys);
        if ((rc = subsystem_register(&paths_subsys)))
                goto fail_subsysreg;