aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd.c
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2009-11-15 18:16:43 -0800
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 09:15:24 -0700
commit1207babdcdfe5501d1528c86b445a9d1045ecc01 (patch)
treee1fab45d892ab8998575066e1e9355274d0f8e43 /arch/arm/mach-msm/smd.c
parentmsm/qsd: smd: avoid race condition in smd channel allocation (diff)
downloadlinux-dev-1207babdcdfe5501d1528c86b445a9d1045ecc01.tar.xz
linux-dev-1207babdcdfe5501d1528c86b445a9d1045ecc01.zip
[ARM] msm: add /proc/last_radio_log when supported by the modem.
Signed-off-by: Iliyan Malchev <malchev@google.com> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/smd.c')
-rw-r--r--arch/arm/mach-msm/smd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index 34bcc327aa88..655fe42506ca 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -1038,6 +1038,8 @@ int smd_core_init(void)
return 0;
}
+extern void msm_init_last_radio_log(struct module *);
+
static int __init msm_smd_probe(struct platform_device *pdev)
{
pr_info("smd_init()\n");
@@ -1053,6 +1055,8 @@ static int __init msm_smd_probe(struct platform_device *pdev)
msm_check_for_modem_crash = check_for_modem_crash;
+ msm_init_last_radio_log(THIS_MODULE);
+
smd_initialized = 1;
return 0;