From 1437085c3780f064a06df662195a2695e7d75c09 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Wed, 10 Oct 2007 13:48:14 +0900 Subject: [MTD] [OneNAND] Fix typo related with recent commit Signed-off-by: Kyungmin Park Signed-off-by: David Woodhouse --- drivers/mtd/onenand/onenand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mtd') diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 85a97198bee3..b2c40f67db83 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; -- cgit v1.2.1