summaryrefslogtreecommitdiff
path: root/include/linux/mtd/inftl.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-14 17:19:58 +0300
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 15:54:16 +0100
commita8e8aa25694f1781fafee4ee8e8f393e4b979b36 (patch)
tree3517ed86e8b321ca342e74b81e66a581522af856 /include/linux/mtd/inftl.h
parent950bcb2582ebeddb66a8e9349eaedf7ba69e195b (diff)
[MTD] proper prototypes for inftl_{read,write}_oob()
This patch adds proper prototypes for inftl_{read,write}_oob() in include/linux/mtd/inftl.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/mtd/inftl.h')
-rw-r--r--include/linux/mtd/inftl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mtd/inftl.h b/include/linux/mtd/inftl.h
index 6977780e548f..85fd041d44ad 100644
--- a/include/linux/mtd/inftl.h
+++ b/include/linux/mtd/inftl.h
@@ -57,6 +57,11 @@ extern char inftlmountrev[];
void INFTL_dumptables(struct INFTLrecord *s);
void INFTL_dumpVUchains(struct INFTLrecord *s);
+int inftl_read_oob(struct mtd_info *mtd, loff_t offs, size_t len,
+ size_t *retlen, uint8_t *buf);
+int inftl_write_oob(struct mtd_info *mtd, loff_t offs, size_t len,
+ size_t *retlen, uint8_t *buf);
+
#endif /* __KERNEL__ */
#endif /* __MTD_INFTL_H__ */