[PATCH] MTD: OneNAND: Fix typo related with recent commit

Kyungmin Park kyungmin.park at samsung.com
Wed Oct 10 00:48:14 EDT 2007


MTD: OneNAND: Fix typo related with recent commit

Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 85a9719..b2c40f6 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -2065,7 +2065,7 @@ static int do_otp_write(struct mtd_info *mtd, loff_t to, size_t len,
 
 	ops.len = len;
 	ops.ooblen = 0;
-	ops.databuf = pbuf;
+	ops.datbuf = pbuf;
 	ops.oobbuf = NULL;
 	ret = onenand_write_ops_nolock(mtd, to, &ops);
 	*retlen = ops.retlen;



More information about the linux-mtd mailing list