aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@codeaurora.org>2010-03-18 13:10:30 -0400
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 12:19:29 -0400
commitb13525c2637957a757709945fbc9bc8b1065d071 (patch)
tree5228af8d346624d1dc65f73e137498b725a714c1 /arch/arm
parent3843ac3a5cd01824b5801209808e73fb9df7ee22 (diff)
arm: msm: smd: ifdef dsp irq handler
This irq handler isn't used in all cases, so add the proper ifdef. This eliminates a compiler warning due to the function not getting used. Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-msm/smd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index f3558f504709..de9343ec5cff 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -378,11 +378,13 @@ static irqreturn_t smd_modem_irq_handler(int irq, void *data)
378 return IRQ_HANDLED; 378 return IRQ_HANDLED;
379} 379}
380 380
381#if defined(CONFIG_QDSP6)
381static irqreturn_t smd_dsp_irq_handler(int irq, void *data) 382static irqreturn_t smd_dsp_irq_handler(int irq, void *data)
382{ 383{
383 handle_smd_irq(&smd_ch_list_dsp, notify_dsp_smd); 384 handle_smd_irq(&smd_ch_list_dsp, notify_dsp_smd);
384 return IRQ_HANDLED; 385 return IRQ_HANDLED;
385} 386}
387#endif
386 388
387static void smd_fake_irq_handler(unsigned long arg) 389static void smd_fake_irq_handler(unsigned long arg)
388{ 390{