]> Git Repo - J-u-boot.git/blobdiff - cmd/jffs2.c
mtd: nand: Remove nand_info_t typedef
[J-u-boot.git] / cmd / jffs2.c
index 0b2eefa195436d3e5faaaa428ad2677e83a0e77c..e4eaa48c1f578f9991fdf66c148bfdc95dc8cd1e 100644 (file)
@@ -242,11 +242,11 @@ static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *d
 static inline u32 get_part_sector_size_nand(struct mtdids *id)
 {
 #if defined(CONFIG_JFFS2_NAND) && defined(CONFIG_CMD_NAND)
-       nand_info_t *nand;
+       struct mtd_info *mtd;
 
-       nand = &nand_info[id->num];
+       mtd = &nand_info[id->num];
 
-       return nand->erasesize;
+       return mtd->erasesize;
 #else
        BUG();
        return 0;
This page took 0.026046 seconds and 4 git commands to generate.