summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/am335x_spl_bch.c
diff options
context:
space:
mode:
authorScott Wood <oss@buserror.net>2016-05-30 13:57:54 -0500
committerScott Wood <oss@buserror.net>2016-06-03 20:27:48 -0500
commit151c06ec61d74b77cf27d6d622bab6370c949c66 (patch)
treefc50effb6cd876bf28ba3e6f3f143f0f51fd6db1 /drivers/mtd/nand/am335x_spl_bch.c
parentea7d1eec66898b233ac49f8a60391b96afa25477 (diff)
mtd: nand: Remove nand_info_t typedef
This typedef serves no purpose other than causing confusion with struct nand_chip. Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'drivers/mtd/nand/am335x_spl_bch.c')
-rw-r--r--drivers/mtd/nand/am335x_spl_bch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/am335x_spl_bch.c b/drivers/mtd/nand/am335x_spl_bch.c
index 31c78258b9..b8f68c0ea9 100644
--- a/drivers/mtd/nand/am335x_spl_bch.c
+++ b/drivers/mtd/nand/am335x_spl_bch.c
@@ -16,7 +16,7 @@
#include <linux/mtd/nand_ecc.h>
static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS;
-nand_info_t nand_info[1];
+struct mtd_info nand_info[1];
static struct nand_chip nand_chip;
#define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \