aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/smd.c')
-rw-r--r--arch/arm/mach-msm/smd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index b6966680a2d8..b864592cbe05 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -123,8 +123,6 @@ static void handle_modem_crash(void)
123 ; 123 ;
124} 124}
125 125
126extern int (*msm_check_for_modem_crash)(void);
127
128uint32_t raw_smsm_get_state(enum smsm_state_item item) 126uint32_t raw_smsm_get_state(enum smsm_state_item item)
129{ 127{
130 return readl(smd_info.state + item * 4); 128 return readl(smd_info.state + item * 4);
@@ -904,9 +902,9 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)
904 902
905 if (msm_smd_debug_mask & MSM_SMSM_DEBUG) 903 if (msm_smd_debug_mask & MSM_SMSM_DEBUG)
906 pr_info("<SM %08x %08x>\n", apps, modm); 904 pr_info("<SM %08x %08x>\n", apps, modm);
907 if (modm & SMSM_RESET) { 905 if (modm & SMSM_RESET)
908 handle_modem_crash(); 906 handle_modem_crash();
909 } 907
910 do_smd_probe(); 908 do_smd_probe();
911 909
912 spin_unlock_irqrestore(&smem_lock, flags); 910 spin_unlock_irqrestore(&smem_lock, flags);
@@ -1056,8 +1054,6 @@ int smd_core_init(void)
1056 return 0; 1054 return 0;
1057} 1055}
1058 1056
1059extern void msm_init_last_radio_log(struct module *);
1060
1061static int __init msm_smd_probe(struct platform_device *pdev) 1057static int __init msm_smd_probe(struct platform_device *pdev)
1062{ 1058{
1063 pr_info("smd_init()\n"); 1059 pr_info("smd_init()\n");