diff options
author | Iliyan Malchev <malchev@google.com> | 2009-11-15 21:16:43 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 12:15:24 -0400 |
commit | 1207babdcdfe5501d1528c86b445a9d1045ecc01 (patch) | |
tree | e1fab45d892ab8998575066e1e9355274d0f8e43 /arch/arm/mach-msm/smd.c | |
parent | 34f719b0c25cca6e11164f926fc798c25499aa96 (diff) |
[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.c | 4 |
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) | |||
1038 | return 0; | 1038 | return 0; |
1039 | } | 1039 | } |
1040 | 1040 | ||
1041 | extern void msm_init_last_radio_log(struct module *); | ||
1042 | |||
1041 | static int __init msm_smd_probe(struct platform_device *pdev) | 1043 | static int __init msm_smd_probe(struct platform_device *pdev) |
1042 | { | 1044 | { |
1043 | pr_info("smd_init()\n"); | 1045 | pr_info("smd_init()\n"); |
@@ -1053,6 +1055,8 @@ static int __init msm_smd_probe(struct platform_device *pdev) | |||
1053 | 1055 | ||
1054 | msm_check_for_modem_crash = check_for_modem_crash; | 1056 | msm_check_for_modem_crash = check_for_modem_crash; |
1055 | 1057 | ||
1058 | msm_init_last_radio_log(THIS_MODULE); | ||
1059 | |||
1056 | smd_initialized = 1; | 1060 | smd_initialized = 1; |
1057 | 1061 | ||
1058 | return 0; | 1062 | return 0; |