bugfix for one typo in drivers/mtd/nand/nand_base.c
PATCH 1/1 bugfix for one typo in drivers/mtd/nand/nand_base.c
Hi:
This is one patch that bugfix one typo indrivers/mtd/nand/nand_base.c. It seem we lost the
character 'x' here.
This patch can apply on 2.6.18-rc1-git8 at least.
Goodluck.
-liyu
nand_base.c 2006-07-14 15:30:46.000000000 +0800 renamed from nand_base.c.orig 2006-07-14 15:30:04.000000000 +0800 +1 -1
@@ -2222,7 +2222,7 @@ } /* 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; }
nand_base.c renamed from nand_base.c.orig +1 -1
@@ -2222,7 +2222,7 @@ }/* 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 ; }