[PARISC] kobject is embedded in subsys, not kset
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
This commit is contained in:
Родитель
3cb1d95847
Коммит
ad46c54868
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче