Skip to contentSkip to conversation

nand: ndfc: Remove unnecessary #ifdef's

PATCH New Stefan Roese 1 participant 1 message Jul 16, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 nand: ndfc: Remove unnecessary #ifdef's

Now that the 4xx NAND driver ndfc is moved to the common NAND driver directory we don't need this #ifdef's anymore.

---
 drivers/mtd/nand/ndfc.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/mtd/nand/ndfc.c +0 -6
index 971e2ae..528b22b 100644
@@ -30,10 +30,6 @@
  */
 
 #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
Signature · 1 line
1.6.3.3