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>
This commit is contained in:

committed by
David Woodhouse

parent
fd2819bbc9
commit
a2cc5ba075
@@ -350,7 +350,7 @@ static int scan_write_bbt(struct mtd_info *mtd, loff_t offs, size_t len,
|
||||
ops.oobbuf = oob;
|
||||
ops.len = len;
|
||||
|
||||
return mtd->write_oob(mtd, offs, &ops);
|
||||
return mtd_write_oob(mtd, offs, &ops);
|
||||
}
|
||||
|
||||
static u32 bbt_get_ver_offs(struct mtd_info *mtd, struct nand_bbt_descr *td)
|
||||
|
Reference in New Issue
Block a user