mvebu: add support for the Linksys boot counter
[openwrt/.git] / package / system / mtd / src / mtd.h
index d94f394396c4943f97bd08d7d9d406520a2b4165..fb37b8b9fa6bf7e99eea1b8356c9d627f07eb1c4 100644 (file)
@@ -27,4 +27,5 @@ extern int trx_fixup(int fd, const char *name)  __attribute__ ((weak));
 extern int trx_check(int imagefd, const char *mtd, char *buf, int *len) __attribute__ ((weak));
 extern int mtd_fixtrx(const char *mtd, size_t offset) __attribute__ ((weak));
 extern int mtd_fixseama(const char *mtd, size_t offset) __attribute__ ((weak));
+extern int mtd_resetbc(const char *mtd) __attribute__ ((weak));
 #endif /* __mtd_h */