diff options
author | Pawel Moll <pawel.moll@st.com> | 2010-02-19 05:26:31 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-03-04 11:11:31 -0500 |
commit | 62c8cbbfc2367e706317f56ac21959120ae72773 (patch) | |
tree | 9ce45fe48d8dab041288ffc33039a5004a9d0ac2 /arch/sh | |
parent | b07f6b327e798610bebaa581ffb7a226f3bcb96b (diff) |
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: Pawel Moll <pawel.moll@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/pmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index 30035caeb73a..a4662e2782c3 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -871,7 +871,7 @@ static int __init pmb_debugfs_init(void) | |||
871 | 871 | ||
872 | return 0; | 872 | return 0; |
873 | } | 873 | } |
874 | postcore_initcall(pmb_debugfs_init); | 874 | subsys_initcall(pmb_debugfs_init); |
875 | 875 | ||
876 | #ifdef CONFIG_PM | 876 | #ifdef CONFIG_PM |
877 | static int pmb_sysdev_suspend(struct sys_device *dev, pm_message_t state) | 877 | static int pmb_sysdev_suspend(struct sys_device *dev, pm_message_t state) |