提交 62c8cbbf 编写于 作者: P Pawel Moll 提交者: Paul Mundt

sh: Move PMB debugfs entry initialization to later stage

... so the "sh_debugfs_root" is already available. Previously it
wasn't and in result its path was "/sys/kernel/debug/pmb" instead of
"/sys/kernel/debug/sh/pmb".
Signed-off-by: NPawel Moll <pawel.moll@st.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 b07f6b32
......@@ -871,7 +871,7 @@ static int __init pmb_debugfs_init(void)
return 0;
}
postcore_initcall(pmb_debugfs_init);
subsys_initcall(pmb_debugfs_init);
#ifdef CONFIG_PM
static int pmb_sysdev_suspend(struct sys_device *dev, pm_message_t state)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册