]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/nand.h
drivers/mtd/nand: Move conditional compilation to Makefile
[people/ms/u-boot.git] / include / nand.h
index 764e9f97229406587158a2bcd01dec9dfbac5b6a..4c2b76dd4b33f947e69e67a838f10124f095a9f2 100644 (file)
@@ -26,7 +26,7 @@
 
 extern void nand_init(void);
 
-#ifndef CFG_NAND_LEGACY
+#ifndef CONFIG_NAND_LEGACY
 #include <linux/mtd/compat.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
@@ -128,5 +128,5 @@ void board_nand_select_device(struct nand_chip *nand, int chip);
 
 __attribute__((noreturn)) void nand_boot(void);
 
-#endif /* !CFG_NAND_LEGACY */
+#endif /* !CONFIG_NAND_LEGACY */
 #endif