From patchwork Sat Jun 4 18:23:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 98733 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 F3FD1B6FBE for ; Sun, 5 Jun 2011 04:23:40 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvVO-0004Gr-VD; Sat, 04 Jun 2011 18:23:27 +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 1QSvVN-0003VR-Dx; Sat, 04 Jun 2011 18:23:25 +0000 Received: from mail-gx0-f177.google.com ([209.85.161.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QSvVJ-0003V7-8R for linux-arm-kernel@lists.infradead.org; Sat, 04 Jun 2011 18:23:21 +0000 Received: by gxk2 with SMTP id 2so1391731gxk.36 for ; Sat, 04 Jun 2011 11:23:17 -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=+4s02TILE2aWEKAUcbY+Rkm49HKBboGYrCyyW40nRwk=; b=ErueDsXyhsyI/7NCsGIPFNUNGB5c8ojH2LefGT2JosSw8wbyT76h/1LDjfzbgrqK0d xG2yKYP/w5PX/gaznGyqjnkuCmmw6UsMYpIEp9ERGdv6K3bKlJ6EeMXoPcw9mccWUUFY eaZWkDL/j67K6PdkUoE3TtM2O3w1dH9MeEbVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=kjiM1KW9wLDCqlXdTv6bbcp21rWMqyJ58FMCFCVVmdCKmWMPeHwFhcBTEZTk+DvJKS omXBkgC6fUY5YJ8mZOSX4wGGwE2wNkB5TTEcajn80Ija/6BYC8F/O5/9dipvz7iMQysg OA55P/qUZFsf13g91tkUDALc0TeAgjf+THhyc= Received: by 10.236.150.8 with SMTP id y8mr4455385yhj.392.1307211797361; Sat, 04 Jun 2011 11:23:17 -0700 (PDT) Received: from localhost.localdomain ([186.207.112.158]) by mx.google.com with ESMTPS id o45sm2195096yhk.7.2011.06.04.11.23.13 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Jun 2011 11:23:16 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: mx5/mx51_3ds: Fix build due to missing header and wrong define Date: Sat, 4 Jun 2011 15:23:03 -0300 Message-Id: <1307211784-13353-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_142321_491359_0DD58D33 X-CRM114-Status: GOOD ( 13.07 ) 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.0 FREEMAIL_FROM Sender email is freemail (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.177 listed in list.dnswl.org] -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 mx51_3ds build. Fix it by adding the missing gpio header and also add the missing parenthesis for EXPIO_PARENT_INT definition. Signed-off-by: Fabio Estevam --- 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[] = {