summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand_legacy
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand_legacy')
-rw-r--r--drivers/mtd/nand_legacy/nand_legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand_legacy/nand_legacy.c b/drivers/mtd/nand_legacy/nand_legacy.c
index fafefad..8f7dc39 100644
--- a/drivers/mtd/nand_legacy/nand_legacy.c
+++ b/drivers/mtd/nand_legacy/nand_legacy.c
@@ -15,7 +15,7 @@
#include <asm/io.h>
#include <watchdog.h>
-#if defined(CONFIG_CMD_NAND) && defined(CFG_NAND_LEGACY)
+#if defined(CONFIG_CMD_NAND) && defined(CONFIG_NAND_LEGACY)
#include <linux/mtd/nand_legacy.h>
#include <linux/mtd/nand_ids.h>