Commit b13525c2 authored by Daniel Walker's avatar Daniel Walker

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: default avatarDaniel Walker <dwalker@codeaurora.org>
parent 3843ac3a
...@@ -378,11 +378,13 @@ static irqreturn_t smd_modem_irq_handler(int irq, void *data) ...@@ -378,11 +378,13 @@ static irqreturn_t smd_modem_irq_handler(int irq, void *data)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
#if defined(CONFIG_QDSP6)
static irqreturn_t smd_dsp_irq_handler(int irq, void *data) static irqreturn_t smd_dsp_irq_handler(int irq, void *data)
{ {
handle_smd_irq(&smd_ch_list_dsp, notify_dsp_smd); handle_smd_irq(&smd_ch_list_dsp, notify_dsp_smd);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
#endif
static void smd_fake_irq_handler(unsigned long arg) static void smd_fake_irq_handler(unsigned long arg)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment