From: Kyungmin Park Date: Wed, 10 Oct 2007 04:48:14 +0000 (+0900) Subject: [MTD] [OneNAND] Fix typo related with recent commit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1437085c3780f064a06df662195a2695e7d75c09;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 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;