aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_spl_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nand_spl_simple.c')
-rw-r--r--drivers/mtd/nand/nand_spl_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_spl_simple.c b/drivers/mtd/nand/nand_spl_simple.c
index e69f66226d..b3978e9755 100644
--- a/drivers/mtd/nand/nand_spl_simple.c
+++ b/drivers/mtd/nand/nand_spl_simple.c
@@ -11,7 +11,7 @@
#include <linux/mtd/nand_ecc.h>
static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS;
-static nand_info_t mtd;
+static struct mtd_info mtd;
static struct nand_chip nand_chip;
#define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \