From patchwork Sat Jun 4 18:23:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 849302 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p54IO2nD013427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Jun 2011 18:24:23 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvVd-0004WN-NY; Sat, 04 Jun 2011 18:23:42 +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 1QSvVd-0003YO-9N; Sat, 04 Jun 2011 18:23:41 +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 1QSvVN-0003VQ-JD for linux-arm-kernel@lists.infradead.org; Sat, 04 Jun 2011 18:23:26 +0000 Received: by yie21 with SMTP id 21so361320yie.36 for ; Sat, 04 Jun 2011 11:23:23 -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=iKf3nYYUUzL3tu7TZ3eqCc2MtlLoRMN/wnlMzgjBNzM=; b=tDA42gsC6L26Bw61uSEwzLSMQmeRPxT+3juobCrshzvZYxg/LveT0QstXvv2HtSWx1 j7DXsTPeUPpbqEiUTvcN4Q4eqQkp2etvnxt7tqudLyL5MXg8csRYt9qG6cMnW2ZAVbNR BwATyQPiOpsn5A0vHrZ2lEU+twkSLSCvQLYps= 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=uAxIKY8fbfeTepg1wSHdFYw7G6lgCnT6aU2Px05WczjIuKPIv28QX2Bc4OmnRliw3y IVwc9qeGeJ0ka9M1ASJAI3mmMz1xD9Wpj4qJ08MVJkA8f1Aymib0gsjP0Ij3bHBFl59t uxswSuMw716i/d32xHVNVPnXBtlBJHa8VZRyc= Received: by 10.236.134.106 with SMTP id r70mr3818385yhi.521.1307211803539; Sat, 04 Jun 2011 11:23:23 -0700 (PDT) Received: from localhost.localdomain ([186.207.112.158]) by mx.google.com with ESMTPS id o45sm2195096yhk.7.2011.06.04.11.23.20 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Jun 2011 11:23:22 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: mx5/eukrea_mbimx51-baseboard: Fix build issue due to removed irq Date: Sat, 4 Jun 2011 15:23:04 -0300 Message-Id: <1307211784-13353-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1307211784-13353-1-git-send-email-festevam@gmail.com> References: <1307211784-13353-1-git-send-email-festevam@gmail.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110604_142325_891689_C5E73370 X-CRM114-Status: GOOD ( 11.92 ) 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-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sat, 04 Jun 2011 18:24:24 +0000 (UTC) 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 --- 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));