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

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Oct 13 06:59:01 EDT 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1437085c3780f064a06df662195a2695e7d75c09
Commit:     1437085c3780f064a06df662195a2695e7d75c09
Parent:     8fb870df5a1f261294b833dd807bcba3bacface6
Author:     Kyungmin Park <kyungmin.park at samsung.com>
AuthorDate: Wed Oct 10 13:48:14 2007 +0900
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Oct 13 11:26:44 2007 +0100

    [MTD] [OneNAND] Fix typo related with recent commit
    
    Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/onenand/onenand_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list