* [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler
@ 2010-03-26 23:55 Daniel Walker
2010-03-27 6:21 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Walker @ 2010-03-26 23:55 UTC (permalink / raw)
To: linux-arm-msm
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 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index f3558f5..de9343e 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)
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)
{
--
1.6.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler
2010-03-26 23:55 [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler Daniel Walker
@ 2010-03-27 6:21 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2010-03-27 6:21 UTC (permalink / raw)
To: Daniel Walker; +Cc: linux-arm-msm
On Fri 2010-03-26 16:55:24, Daniel Walker wrote:
> 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>
ACK.
> ---
> arch/arm/mach-msm/smd.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
> index f3558f5..de9343e 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)
> 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)
> {
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-27 6:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 23:55 [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler Daniel Walker
2010-03-27 6:21 ` Pavel Machek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.