X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Flinux%2Fmtd%2Fnftl.h;h=fe22e0dceb16cc8ae7549733f8b75e5c66d67c98;hb=691288e14dc5cccc9ff1219765554981f73a7c14;hp=6731a16e7dc1cbe93f8b589b010109bed2ee787e;hpb=ce0eb70333331da6942167c41e6841c8c7994a33;p=u-boot diff --git a/include/linux/mtd/nftl.h b/include/linux/mtd/nftl.h index 6731a16e7d..fe22e0dceb 100644 --- a/include/linux/mtd/nftl.h +++ b/include/linux/mtd/nftl.h @@ -1,6 +1,4 @@ /* - * $Id: nftl.h,v 1.16 2004/06/30 14:49:00 dbrown Exp $ - * * (C) 1999-2003 David Woodhouse */ @@ -43,6 +41,11 @@ struct NFTLrecord { int NFTL_mount(struct NFTLrecord *s); int NFTL_formatblock(struct NFTLrecord *s, int block); +int nftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len, + size_t *retlen, uint8_t *buf); +int nftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len, + size_t *retlen, uint8_t *buf); + #ifndef NFTL_MAJOR #define NFTL_MAJOR 93 #endif