summaryrefslogtreecommitdiff
path: root/board/stxxtc/stxxtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/stxxtc/stxxtc.c')
-rw-r--r--board/stxxtc/stxxtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/stxxtc/stxxtc.c b/board/stxxtc/stxxtc.c
index aa3d129f9c..7caf06a086 100644
--- a/board/stxxtc/stxxtc.c
+++ b/board/stxxtc/stxxtc.c
@@ -576,7 +576,7 @@ int board_early_init_f(void)
#if (CONFIG_COMMANDS & CFG_CMD_NAND)
-#include <linux/mtd/nand.h>
+#include <linux/mtd/nand_legacy.h>
extern ulong nand_probe(ulong physadr);
extern struct nand_chip nand_dev_desc[CFG_MAX_NAND_DEVICE];