]> git.sur5r.net Git - u-boot/blobdiff - board/esd/wuh405/wuh405.c
Merge commit 'upstream/master'
[u-boot] / board / esd / wuh405 / wuh405.c
index db24122c5ea7efb2860e4f35002cc55906226322..61d1d6c0ce66ab868355261b3d99975e000b025b 100644 (file)
@@ -238,8 +238,8 @@ int testdram (void)
 
 /* ------------------------------------------------------------------------- */
 
-#if (CONFIG_COMMANDS & CFG_CMD_NAND)
-#include <linux/mtd/nand.h>
+#if defined(CONFIG_CMD_NAND)
+#include <linux/mtd/nand_legacy.h>
 extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE];
 
 void nand_init(void)