[MTD] [OneNAND] Fix typo related with recent commit
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 10 Oct 2007 04:48:14 +0000 (13:48 +0900)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 Oct 2007 10:26:44 +0000 (11:26 +0100)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c

index 85a9719..b2c40f6 100644 (file)
@@ -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;