summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-10-10 06:48:14 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-10-13 12:26:44 +0200
commit1437085c3780f064a06df662195a2695e7d75c09 (patch)
tree6001b1a7c7714d1cf90c69970fcd58e7bb263a18 /drivers/mtd/onenand
parent[JFFS2] Trigger garbage collection when very_dirty_list size becomes excessive (diff)
downloadlinux-1437085c3780f064a06df662195a2695e7d75c09.tar.xz
linux-1437085c3780f064a06df662195a2695e7d75c09.zip
[MTD] [OneNAND] Fix typo related with recent commit
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/onenand_base.c2
1 files changed, 1 insertions, 1 deletions
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;