Merge branch 'Makefile' of git://git.denx.de/u-boot-arm
[oweals/u-boot.git] / drivers / mtd / nand / nand_base.c
index a29ff1146f2cc26cfb23be0876bf4affbdcb0802..0913bb87418cb52bf43d8efbd4944c358811ec0c 100644 (file)
@@ -59,8 +59,6 @@
 
 #define ENOTSUPP       524     /* Operation is not supported */
 
-#if defined(CONFIG_CMD_NAND) && !defined(CFG_NAND_LEGACY)
-
 #include <malloc.h>
 #include <watchdog.h>
 #include <linux/err.h>
@@ -2822,6 +2820,3 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Steven J. Hill <sjhill@realitydiluted.com>, Thomas Gleixner <tglx@linutronix.de>");
 MODULE_DESCRIPTION("Generic NAND flash driver code");
 #endif
-
-#endif
-