sh: Move PMB debugfs entry initialization to later stage

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, March 7, 2010 - 5:59 pm

Gitweb:     http://git.kernel.org/linus/62c8cbbfc2367e706317f56ac21959120ae72773
Commit:     62c8cbbfc2367e706317f56ac21959120ae72773
Parent:     b07f6b327e798610bebaa581ffb7a226f3bcb96b
Author:     Pawel Moll <pawel.moll@st.com>
AuthorDate: Fri Feb 19 10:26:31 2010 +0000
Committer:  Paul Mundt <lethal@linux-sh.org>
CommitDate: Fri Mar 5 01:11:31 2010 +0900

    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>
---
 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 30035ca..a4662e2 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)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sh: Move PMB debugfs entry initialization to later stage, Linux Kernel Mailing ..., (Sun Mar 7, 5:59 pm)