projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3843ac3
)
arm: msm: smd: ifdef dsp irq handler
author
Daniel Walker
<dwalker@codeaurora.org>
Thu, 18 Mar 2010 17:10:30 +0000
(10:10 -0700)
committer
Daniel Walker
<dwalker@codeaurora.org>
Wed, 12 May 2010 16:19:29 +0000
(09:19 -0700)
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>
arch/arm/mach-msm/smd.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-msm/smd.c
b/arch/arm/mach-msm/smd.c
index f3558f504709d116133d29734797db9345e1af44..de9343ec5cff85eb3e5164eee65499e1063f2f5b 100644
(file)
--- 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)
return IRQ_HANDLED;
}
+#if defined(CONFIG_QDSP6)
static irqreturn_t smd_dsp_irq_handler(int irq, void *data)
{
handle_smd_irq(&smd_ch_list_dsp, notify_dsp_smd);
return IRQ_HANDLED;
}
+#endif
static void smd_fake_irq_handler(unsigned long arg)
{