diff options
author | Rob Herring <r.herring@freescale.com> | 2009-05-05 14:24:21 -0500 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-10-13 11:03:06 -0400 |
commit | 40819a2e4d42196f973a006232245afa1bf5ca96 (patch) | |
tree | e8d7fc6d5f3a7e53ec2e233836639456130bfc6b /include/linux | |
parent | 71a6aceb3de7ec205005edab9f0d73a3d1bac357 (diff) |
ENGR00112201 mtd: export nand_do_read/write_ops functions
mtd: export nand_do_read/write_ops functions
Signed-off-by: Rob Herring <r.herring@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/nand.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 63e86acaab14..0e6a4d5c1318 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -551,7 +551,10 @@ extern int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr, int allowbbt); extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, uint8_t * buf); - +extern int nand_do_read_ops(struct mtd_info *mtd, loff_t from, + struct mtd_oob_ops *ops); +extern int nand_do_write_ops(struct mtd_info *mtd, loff_t to, + struct mtd_oob_ops *ops); /* * Constants for oob configuration */ |