[PATCH] bugfix for one typo in drivers/mtd/nand/nand_base.c

From: liyu
Date: Fri Jul 14 2006 - 03:41:16 EST


Hi:

This is one patch that bugfix one typo in drivers/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.orig 2006-07-14 15:30:04.000000000 +0800
+++ nand_base.c 2006-07-14 15:30:46.000000000 +0800
@@ -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.orig 2006-07-14 15:30:04.000000000 +0800
+++ nand_base.c 2006-07-14 15:30:46.000000000 +0800
@@ -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;
}