aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
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,
2065 2065
2066 ops.len = len; 2066 ops.len = len;
2067 ops.ooblen = 0; 2067 ops.ooblen = 0;
2068 ops.databuf = pbuf; 2068 ops.datbuf = pbuf;
2069 ops.oobbuf = NULL; 2069 ops.oobbuf = NULL;
2070 ret = onenand_write_ops_nolock(mtd, to, &ops); 2070 ret = onenand_write_ops_nolock(mtd, to, &ops);
2071 *retlen = ops.retlen; 2071 *retlen = ops.retlen;