aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd/src/mtd.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-06-11 01:41:10 +0200
committerRafał Miłecki <zajec5@gmail.com>2016-06-20 08:01:31 +0200
commit7e08f2ccbdb717c502810085457b824d0f2d067b (patch)
treeb4722ba8a21c5f1cb98b491a7134cf055c2b7bfe /package/system/mtd/src/mtd.h
parentcf6d9d97fbaa7d85b0f972bdc7ad710e96125fd2 (diff)
downloadupstream-7e08f2ccbdb717c502810085457b824d0f2d067b.tar.gz
upstream-7e08f2ccbdb717c502810085457b824d0f2d067b.tar.bz2
upstream-7e08f2ccbdb717c502810085457b824d0f2d067b.zip
mtd: support -c (datasize) option for fixseama command
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'package/system/mtd/src/mtd.h')
-rw-r--r--package/system/mtd/src/mtd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/mtd/src/mtd.h b/package/system/mtd/src/mtd.h
index 0a8b1ae0fd..9b2e32ffd4 100644
--- a/package/system/mtd/src/mtd.h
+++ b/package/system/mtd/src/mtd.h
@@ -26,6 +26,6 @@ extern void mtd_parse_jffs2data(const char *buf, const char *dir);
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, size_t data_size) __attribute__ ((weak));
-extern int mtd_fixseama(const char *mtd, size_t offset) __attribute__ ((weak));
+extern int mtd_fixseama(const char *mtd, size_t offset, size_t data_size) __attribute__ ((weak));
extern int mtd_resetbc(const char *mtd) __attribute__ ((weak));
#endif /* __mtd_h */