aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd/src/mtd.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/mtd/src/mtd.h')
-rw-r--r--package/system/mtd/src/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/mtd.h b/package/system/mtd/src/mtd.h
index c2133fc37c..d94f394396 100644
--- a/package/system/mtd/src/mtd.h
+++ b/package/system/mtd/src/mtd.h
@@ -15,6 +15,7 @@ extern int erasesize;
extern int mtd_open(const char *mtd, bool block);
extern int mtd_check_open(const char *mtd);
+extern int mtd_block_is_bad(int fd, int offset);
extern int mtd_erase_block(int fd, int offset);
extern int mtd_write_buffer(int fd, const char *buf, int offset, int length);
extern int mtd_write_jffs2(const char *mtd, const char *filename, const char *dir);