From: Kyungmin Park Date: Wed, 10 Oct 2007 04:48:14 +0000 (+0900) Subject: [MTD] [OneNAND] Fix typo related with recent commit X-Git-Tag: v2.6.24-rc1~1364^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1437085c3780f064a06df662195a2695e7d75c09;p=linux-2.6 [MTD] [OneNAND] Fix typo related with recent commit Signed-off-by: Kyungmin Park Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 85a97198be..b2c40f67db 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;