diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-23 11:29:55 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:25:24 -0500 |
commit | a2cc5ba075f9bc837d0b4d4ec7328dcefc11859d (patch) | |
tree | a5f2c88ddd21028247bfaf02ca336dd501ed3a5f /drivers/mtd/sm_ftl.c | |
parent | fd2819bbc92fc98bed5d612e4acbe16b6326f6bf (diff) |
mtd: introduce mtd_write_oob interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
-rw-r--r-- | drivers/mtd/sm_ftl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c index 748aa4416691..4ec2af7fb845 100644 --- a/drivers/mtd/sm_ftl.c +++ b/drivers/mtd/sm_ftl.c | |||
@@ -343,7 +343,7 @@ static int sm_write_sector(struct sm_ftl *ftl, | |||
343 | ops.ooblen = SM_OOB_SIZE; | 343 | ops.ooblen = SM_OOB_SIZE; |
344 | ops.oobbuf = (void *)oob; | 344 | ops.oobbuf = (void *)oob; |
345 | 345 | ||
346 | ret = mtd->write_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops); | 346 | ret = mtd_write_oob(mtd, sm_mkoffset(ftl, zone, block, boffset), &ops); |
347 | 347 | ||
348 | /* Now we assume that hardware will catch write bitflip errors */ | 348 | /* Now we assume that hardware will catch write bitflip errors */ |
349 | /* If you are paranoid, use CONFIG_MTD_NAND_VERIFY_WRITE */ | 349 | /* If you are paranoid, use CONFIG_MTD_NAND_VERIFY_WRITE */ |