nand: ndfc: Remove unnecessary #ifdef's
authorStefan Roese <sr@denx.de>
Thu, 16 Jul 2009 13:13:04 +0000 (15:13 +0200)
committerScott Wood <scottwood@freescale.com>
Thu, 16 Jul 2009 22:52:03 +0000 (17:52 -0500)
Now that the 4xx NAND driver ndfc is moved to the common NAND driver
directory we don't need this #ifdef's anymore.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/ndfc.c

index 971e2ae..528b22b 100644 (file)
  */
 
 #include <common.h>
-
-#if defined(CONFIG_CMD_NAND) && !defined(CONFIG_NAND_LEGACY) && \
-    defined(CONFIG_NAND_NDFC)
-
 #include <nand.h>
 #include <linux/mtd/ndfc.h>
 #include <linux/mtd/nand_ecc.h>
@@ -219,5 +215,3 @@ int board_nand_init(struct nand_chip *nand)
 
        return 0;
 }
-
-#endif