Return-Path: Received: from ksp.mff.cuni.cz ([195.113.26.206]:33573 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751618Ab0C0GWA (ORCPT ); Sat, 27 Mar 2010 02:22:00 -0400 Date: Sat, 27 Mar 2010 07:21:47 +0100 From: Pavel Machek Subject: Re: [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler Message-ID: <20100327062147.GK18689@elf.ucw.cz> References: <> <1269647725-4577-6-git-send-email-dwalker@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1269647725-4577-6-git-send-email-dwalker@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Daniel Walker Cc: linux-arm-msm@vger.kernel.org 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 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