From patchwork Sat Jun 4 18:29:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 98739 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C351EB6FBE for ; Sun, 5 Jun 2011 04:30:29 +1000 (EST) Received: from canuck.infradead.org ([134.117.69.58]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvc2-0005SW-N2; Sat, 04 Jun 2011 18:30:19 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QSvc2-0003gE-2x; Sat, 04 Jun 2011 18:30:18 +0000 Received: from mail-yi0-f49.google.com ([209.85.218.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvbm-0003ct-04 for linux-arm-kernel@lists.infradead.org; Sat, 04 Jun 2011 18:30:03 +0000 Received: by mail-yi0-f49.google.com with SMTP id 21so362514yie.36 for ; Sat, 04 Jun 2011 11:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=xab5IflTkS9VBWlkmUhAa9w04YhS+slrbIjKWsplEIE=; b=SlmmeWZisZheIX1+C6jJhz1sZiQL09ms+TSXoHZq7mB66iA9JHmAdj14FSdRv32/Ni DKI9uou0fuYtDIhohsYjAGyFZKHA/vCiIjeOa24vftZmXSCSHooh7I605dAMNv5Nf34E Gq5kVu2yifN+Zitee56DNGlK39lzqkp2Wl1Nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=xwVKUYo87SaoJfy3DeremBhl2EJUzcSq+Gq9uvVraZnvsg22eMcN2wkaKxUEOVtBxe zHNick5Wv63sSF7OcGMs8an6PGEVGfRc888X8Mre585rpDaO1uv96yLUfx4roW15E1Ds H2jp8vhC4EgvWZ1H3FhkTJcgPxavFN2D634AQ= Received: by 10.150.176.16 with SMTP id y16mr3198486ybe.87.1307212201616; Sat, 04 Jun 2011 11:30:01 -0700 (PDT) Received: from localhost.localdomain ([186.207.112.158]) by mx.google.com with ESMTPS id y17sm218932yby.26.2011.06.04.11.29.58 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Jun 2011 11:30:00 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] ARM: mx5/eukrea_mbimx51-baseboard: Fix build issue due to removed irq Date: Sat, 4 Jun 2011 15:29:45 -0300 Message-Id: <1307212185-18184-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1307212185-18184-1-git-send-email-festevam@gmail.com> References: <1307212185-18184-1-git-send-email-festevam@gmail.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110604_143002_333230_D6E1A559 X-CRM114-Status: GOOD ( 11.61 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is freemail (festevam[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain 0.0 T_TO_NO_BRKTS_FREEMAIL T_TO_NO_BRKTS_FREEMAIL Cc: Fabio Estevam , Fabio Estevam , kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org commit b50d28 (ARM i.MX: get rid of wrong MXC_INTERNAL_IRQ usage) broke eukrea_mbimx51-baseboard build because it removed MBIMX51_TSC2007_IRQ and still referenced it in irq_set_irq_type. Fix it by using gpio_to_irq with the correct GPIO parameter. Signed-off-by: Fabio Estevam --- Changes since v1: No changes arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c index 592d172..b89d829 100644 --- a/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c +++ b/arch/arm/mach-mx5/eukrea_mbimx51-baseboard.c @@ -197,7 +197,8 @@ void __init eukrea_mbimx51_baseboard_init(void) gpio_request(MBIMX51_TSC2007_GPIO, "tsc2007_irq"); gpio_direction_input(MBIMX51_TSC2007_GPIO); - irq_set_irq_type(MBIMX51_TSC2007_IRQ, IRQF_TRIGGER_FALLING); + irq_set_irq_type(gpio_to_irq(MBIMX51_TSC2007_GPIO), + IRQF_TRIGGER_FALLING); i2c_register_board_info(1, mbimx51_i2c_devices, ARRAY_SIZE(mbimx51_i2c_devices));