提交 9a909867 编写于 作者: D David Woodhouse

[MTD NAND] Fix lookup error in nand_get_flash_type()

Spotted by liyu <liyu@ccoss.com.cn>
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 9d05cd51
......@@ -2222,7 +2222,7 @@ static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
}
/* Try to identify manufacturer */
for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id++) {
for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_idx++) {
if (nand_manuf_ids[maf_idx].id == *maf_id)
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册