From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:12337 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753737Ab0CZXxh (ORCPT ); Fri, 26 Mar 2010 19:53:37 -0400 Received: from dwalker by mostssh02.qualcomm.com with local (Exim 4.69) (envelope-from ) id 1NvJN9-0001CO-UZ for linux-arm-msm@vger.kernel.org; Fri, 26 Mar 2010 16:55:28 -0700 From: Daniel Walker Subject: [PATCH 6/7] arm: msm: smd: ifdef dsp irq handler Date: Fri, 26 Mar 2010 16:55:24 -0700 Message-Id: <1269647725-4577-6-git-send-email-dwalker@codeaurora.org> In-Reply-To: <> References: <> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: linux-arm-msm@vger.kernel.org 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 --- 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