summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd_debug.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-02 15:53:20 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:17 +0800
commitc633c531f8afbcfd422409c3350b8dc55baa485e (patch)
tree5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/smd_debug.c
parent8321b758e08cae7fb02663f26efee4ba985c2ae5 (diff)
downloadlinux-c633c531f8afbcfd422409c3350b8dc55baa485e.tar.gz
linux-c633c531f8afbcfd422409c3350b8dc55baa485e.tar.bz2
linux-c633c531f8afbcfd422409c3350b8dc55baa485e.zip
ARM: msm: use machine specific hook for late init
Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/smd_debug.c')
-rw-r--r--arch/arm/mach-msm/smd_debug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/smd_debug.c b/arch/arm/mach-msm/smd_debug.c
index c56df9e932ae..8056b3e5590f 100644
--- a/arch/arm/mach-msm/smd_debug.c
+++ b/arch/arm/mach-msm/smd_debug.c
@@ -216,7 +216,7 @@ static void debug_create(const char *name, umode_t mode,
debugfs_create_file(name, mode, dent, fill, &debug_ops);
}
-static int smd_debugfs_init(void)
+int __init smd_debugfs_init(void)
{
struct dentry *dent;
@@ -234,7 +234,6 @@ static int smd_debugfs_init(void)
return 0;
}
-late_initcall(smd_debugfs_init);
#endif