aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/nand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index cffd66309ffa..119d17cdb780 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2222,7 +2222,7 @@ static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
2222 } 2222 }
2223 2223
2224 /* Try to identify manufacturer */ 2224 /* Try to identify manufacturer */
2225 for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id++) { 2225 for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_idx++) {
2226 if (nand_manuf_ids[maf_idx].id == *maf_id) 2226 if (nand_manuf_ids[maf_idx].id == *maf_id)
2227 break; 2227 break;
2228 } 2228 }