summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@st.com>2010-02-19 10:26:31 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-03-05 01:11:31 +0900
commit62c8cbbfc2367e706317f56ac21959120ae72773 (patch)
tree9ce45fe48d8dab041288ffc33039a5004a9d0ac2 /arch/sh/mm
parentb07f6b327e798610bebaa581ffb7a226f3bcb96b (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/mm')
-rw-r--r--arch/sh/mm/pmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c
index 30035caeb73..a4662e2782c 100644
--- a/arch/sh/mm/pmb.c
+++ b/arch/sh/mm/pmb.c
@@ -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)