dect
/
linux-2.6
Archived
13
0
Fork 0

[MTD NAND] Fix lookup error in nand_get_flash_type()

Spotted by liyu <liyu@ccoss.com.cn>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2006-07-15 13:26:18 +01:00
parent 9d05cd5178
commit 9a909867d2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}