sh: Move PMB debugfs entry initialization to later stage
authorPawel Moll <pawel.moll@st.com>
Fri, 19 Feb 2010 10:26:31 +0000 (10:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 4 Mar 2010 16:11:31 +0000 (01:11 +0900)
... 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>
arch/sh/mm/pmb.c

index 30035caeb73a32a58aed985de04a2761b5bd32a3..a4662e2782c3fd84c8743dfb56394fdce971fe95 100644 (file)
@@ -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)
This page took 0.028953 seconds and 5 git commands to generate.