Patchwork arm/mx5: remove the magic reference to '__NA_' from board-mx51_efikasb.c

login
register
mail settings
Submitter Shawn Guo
Date Sept. 30, 2011, 12:07 p.m.
Message ID <1317384439-24519-1-git-send-email-shawn.guo@linaro.org>
Download mbox | patch
Permalink /patch/117121/
State New
Headers show

Comments

Shawn Guo - Sept. 30, 2011, 12:07 p.m.
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 <shawn.guo@linaro.org>
---
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(-)

Patch

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 */