summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-10-10 13:48:14 +0900
committerDavid Woodhouse <dwmw2@infradead.org>2007-10-13 11:26:44 +0100
commit1437085c3780f064a06df662195a2695e7d75c09 (patch)
tree6001b1a7c7714d1cf90c69970fcd58e7bb263a18 /drivers/mtd
parent8fb870df5a1f261294b833dd807bcba3bacface6 (diff)
downloadblackbird-op-linux-1437085c3780f064a06df662195a2695e7d75c09.tar.gz
blackbird-op-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')
-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;
OpenPOWER on IntegriCloud