aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/onenand_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/onenand_base.c')
-rw-r--r--drivers/mtd/onenand/onenand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index e5882b609cf1..799bb1bc3dbc 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -1431,7 +1431,7 @@ static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to,
1431 } 1431 }
1432 1432
1433 /* Only check verify write turn on */ 1433 /* Only check verify write turn on */
1434 ret = onenand_verify(mtd, (u_char *) wbuf, to, thislen); 1434 ret = onenand_verify(mtd, buf, to, thislen);
1435 if (ret) { 1435 if (ret) {
1436 printk(KERN_ERR "onenand_write_ops_nolock: verify failed %d\n", ret); 1436 printk(KERN_ERR "onenand_write_ops_nolock: verify failed %d\n", ret);
1437 break; 1437 break;