aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd.c
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@codeaurora.org>2010-03-16 15:20:07 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 09:15:39 -0700
commit79848a2a7333eee6424b38c05b4ea4a0ce56eb47 (patch)
tree4775b1c6ba32ad4c2acc073b47e72c5cb859e332 /arch/arm/mach-msm/smd.c
parent[ARM] msm: smd: Force the half_channel struct aligmnent to 4 (diff)
downloadlinux-dev-79848a2a7333eee6424b38c05b4ea4a0ce56eb47.tar.xz
linux-dev-79848a2a7333eee6424b38c05b4ea4a0ce56eb47.zip
arm: msm: smd: checkpatch clean up of smd/proc_comm
This cleans up coding style. There are no run time changes. 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.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)
;
}
-extern int (*msm_check_for_modem_crash)(void);
-
uint32_t raw_smsm_get_state(enum smsm_state_item item)
{
return readl(smd_info.state + item * 4);
@@ -904,9 +902,9 @@ static irqreturn_t smsm_irq_handler(int irq, void *data)
if (msm_smd_debug_mask & MSM_SMSM_DEBUG)
pr_info("<SM %08x %08x>\n", apps, modm);
- if (modm & SMSM_RESET) {
+ if (modm & SMSM_RESET)
handle_modem_crash();
- }
+
do_smd_probe();
spin_unlock_irqrestore(&smem_lock, flags);
@@ -1056,8 +1054,6 @@ 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");