diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-03-16 18:20:07 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 12:15:39 -0400 |
commit | 79848a2a7333eee6424b38c05b4ea4a0ce56eb47 (patch) | |
tree | 4775b1c6ba32ad4c2acc073b47e72c5cb859e332 /arch/arm/mach-msm/smd.c | |
parent | 93873bcbd16f7233dd5a20280af8e5394e702a8b (diff) |
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.c | 8 |
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 | ||
126 | extern int (*msm_check_for_modem_crash)(void); | ||
127 | |||
128 | uint32_t raw_smsm_get_state(enum smsm_state_item item) | 126 | uint32_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 | ||
1059 | extern void msm_init_last_radio_log(struct module *); | ||
1060 | |||
1061 | static int __init msm_smd_probe(struct platform_device *pdev) | 1057 | static int __init msm_smd_probe(struct platform_device *pdev) |
1062 | { | 1058 | { |
1063 | pr_info("smd_init()\n"); | 1059 | pr_info("smd_init()\n"); |