Skip to content

Commit

Permalink
sh: Move PMB debugfs entry initialization to later stage
Browse files Browse the repository at this point in the history
... 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 <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
Pawel Moll authored and pmundt committed Mar 4, 2010
1 parent b07f6b3 commit 62c8cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh/mm/pmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 62c8cbb

Please sign in to comment.