summaryrefslogtreecommitdiff
path: root/board/g2000/g2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/g2000/g2000.c')
-rw-r--r--board/g2000/g2000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/g2000/g2000.c b/board/g2000/g2000.c
index 3f78753..39b5c70 100644
--- a/board/g2000/g2000.c
+++ b/board/g2000/g2000.c
@@ -185,7 +185,7 @@ int testdram (void)
#if (CONFIG_COMMANDS & CFG_CMD_NAND)
-#include <linux/mtd/nand.h>
+#include <linux/mtd/nand_legacy.h>
extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE];
void nand_init(void)