From patchwork Sat Jun 4 18:29:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 849322 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p54IUG1w008472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Jun 2011 18:30:38 GMT Received: from canuck.infradead.org ([134.117.69.58]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvbm-0005Bo-54; Sat, 04 Jun 2011 18:30:02 +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 1QSvbl-0003dC-Rp; Sat, 04 Jun 2011 18:30:01 +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 1QSvbi-0003ct-Dh for linux-arm-kernel@lists.infradead.org; Sat, 04 Jun 2011 18:29:59 +0000 Received: by yie21 with SMTP id 21so362514yie.36 for ; Sat, 04 Jun 2011 11:29:56 -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; bh=FFzUdACOcszv6spIgUBDaUWwXT1n9dDhMVryvvW7S0o=; b=AYkX0Y4d/PtoD3CWg9bxUmFORBl+6wXaWHpxwdkFR0M5UWpBhlk+RHLv9h9D6Z2HKR 81mAqWXne/NcvgeOVhvK0dwsl/M670sBdlQ4jqpd76ht8by57/8IVEvcxj9MG904LMyx zef3NuRQsrG82RDAmai8rTqf86iYU9futqI7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=faI4nvxG2Fy57QST2seU0KfsdmCOH7nVJtMFP7SgFL/48o5q3G5f363Jj4SPa2ogHD YGY9+bWseCx3IqLVXo+qy5VKarBBs9AzcSTn+0A+eNmVmPdvMd8xPMykNXGQYbAlriqJ lCZfdfYgbz9LsmBKX1FYHn5ZFGr24wdIVZ9q4= Received: by 10.151.7.5 with SMTP id k5mr2922370ybi.89.1307212195985; Sat, 04 Jun 2011 11:29:55 -0700 (PDT) Received: from localhost.localdomain ([186.207.112.158]) by mx.google.com with ESMTPS id y17sm218932yby.26.2011.06.04.11.29.52 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Jun 2011 11:29:55 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/2] ARM: mx5/mx51_3ds: Fix build due to missing header and wrong define Date: Sat, 4 Jun 2011 15:29:44 -0300 Message-Id: <1307212185-18184-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110604_142958_762710_EE2F7A48 X-CRM114-Status: GOOD ( 13.23 ) 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 (demeter1.kernel.org [140.211.167.41]); Sat, 04 Jun 2011 18:30:39 +0000 (UTC) commit b50d28 (ARM i.MX: get rid of wrong MXC_INTERNAL_IRQ usage) broke mx51_3ds build. Fix it by adding the missing gpio header and also removed the extra parenthesis for EXPIO_PARENT_INT definition. Signed-off-by: Fabio Estevam --- Changes since v1: - removed extra parenthesis in EXPIO_PARENT_INT arch/arm/mach-mx5/board-mx51_3ds.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mx5/board-mx51_3ds.c b/arch/arm/mach-mx5/board-mx51_3ds.c index 288965d..befcbad 100644 --- a/arch/arm/mach-mx5/board-mx51_3ds.c +++ b/arch/arm/mach-mx5/board-mx51_3ds.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -26,7 +27,7 @@ #include "devices-imx51.h" #include "devices.h" -#define EXPIO_PARENT_INT gpio_to_irq((IMX_GPIO_NR(1, 6)) +#define EXPIO_PARENT_INT gpio_to_irq(IMX_GPIO_NR(1, 6)) #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) static iomux_v3_cfg_t mx51_3ds_pads[] = {