From patchwork Fri Sep 30 12:07:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 4453 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D04EA23FB8 for ; Fri, 30 Sep 2011 12:04:21 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id BFDAAA187A8 for ; Fri, 30 Sep 2011 12:04:21 +0000 (UTC) Received: by fxe23 with SMTP id 23so3996293fxe.11 for ; Fri, 30 Sep 2011 05:04:21 -0700 (PDT) Received: by 10.223.63.8 with SMTP id z8mr5582573fah.84.1317384261582; Fri, 30 Sep 2011 05:04:21 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.3.234 with SMTP id f10cs49383laf; Fri, 30 Sep 2011 05:04:21 -0700 (PDT) Received: by 10.68.7.166 with SMTP id k6mr43680218pba.128.1317384260086; Fri, 30 Sep 2011 05:04:20 -0700 (PDT) Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by mx.google.com with ESMTPS id h8si2603152pba.246.2011.09.30.05.04.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Sep 2011 05:04:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.210.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by pzk1 with SMTP id 1so4246147pzk.1 for ; Fri, 30 Sep 2011 05:04:19 -0700 (PDT) Received: by 10.68.34.1 with SMTP id v1mr26170005pbi.33.1317384259022; Fri, 30 Sep 2011 05:04:19 -0700 (PDT) Received: from localhost.localdomain ([121.236.240.85]) by mx.google.com with ESMTPS id i3sm17435849pbg.10.2011.09.30.05.04.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Sep 2011 05:04:18 -0700 (PDT) From: Shawn Guo To: Sascha Hauer Cc: linux-arm-kernel@lists.infradead.org, patches@linaro.org, Shawn Guo Subject: [PATCH] arm/mx5: remove the magic reference to '__NA_' from board-mx51_efikasb.c Date: Fri, 30 Sep 2011 20:07:19 +0800 Message-Id: <1317384439-24519-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 This change is to fix the compile error below. CC arch/arm/mach-mx5/board-mx51_efikasb.o arch/arm/mach-mx5/board-mx51_efikasb.c:102:2: error: ‘__NA_’ undeclared here (not in a function) make[2]: *** [arch/arm/mach-mx5/board-mx51_efikasb.o] Error 1 Signed-off-by: Shawn Guo --- Sascha, This is a compile error seen on your imx-features branch. arch/arm/mach-mx5/board-mx51_efikasb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mx5/board-mx51_efikasb.c b/arch/arm/mach-mx5/board-mx51_efikasb.c index b491513..46eac80 100644 --- a/arch/arm/mach-mx5/board-mx51_efikasb.c +++ b/arch/arm/mach-mx5/board-mx51_efikasb.c @@ -56,7 +56,7 @@ #define EFIKASB_RFKILL IMX_GPIO_NR(3, 1) #define MX51_PAD_PWRKEY IOMUX_PAD(0x48c, 0x0f8, 1, 0x0, 0, PAD_CTL_PUS_100K_UP | PAD_CTL_PKE) -#define MX51_PAD_SD1_CD IOMUX_PAD(0x47c, 0x0e8, 1, __NA_, 0, MX51_ESDHC_PAD_CTRL) +#define MX51_PAD_SD1_CD IOMUX_PAD(0x47c, 0x0e8, 1, 0x0, 0, MX51_ESDHC_PAD_CTRL) static iomux_v3_cfg_t mx51efikasb_pads[] = { /* USB HOST2 */