summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2011-03-29 17:57:54 +0800
committerJason Liu <r64343@freescale.com>2011-03-29 17:57:54 +0800
commit16430ef30173a51fb40daaed030d5028440e1bb0 (patch)
tree795c38bc3b9d08afeea24476706362649e4c543d /drivers
parent03863136932546d67b4282744cc1e3e3119d2497 (diff)
ENGR00141299: NAND/MXC: Fix the build warning
Fix the the following build warning, drivers/mtd/nand/mxc_nd2.h:498:7: warning: "CONFIG_ARCH_MXC_HAS_NFC_V2" Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/mxc_nd2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nd2.h b/drivers/mtd/nand/mxc_nd2.h
index 9f33c9652bfb..9d12517b9c9d 100644
--- a/drivers/mtd/nand/mxc_nd2.h
+++ b/drivers/mtd/nand/mxc_nd2.h
@@ -495,7 +495,7 @@ do { \
#define READ_PAGE() send_read_page(0)
#define PROG_PAGE() send_prog_page(0)
-#elif CONFIG_ARCH_MXC_HAS_NFC_V2
+#elif defined(CONFIG_ARCH_MXC_HAS_NFC_V2)
/*
* For V1/V2 NFC registers Definition