提交 ad46c548 编写于 作者: K Kyle McMartin 提交者: Kyle McMartin

[PARISC] kobject is embedded in subsys, not kset

Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 3cb1d958
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册