aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/mtd')
-rw-r--r--package/system/mtd/src/trx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/system/mtd/src/trx.c b/package/system/mtd/src/trx.c
index 86d62fc19e..089d1ace46 100644
--- a/package/system/mtd/src/trx.c
+++ b/package/system/mtd/src/trx.c
@@ -101,6 +101,7 @@ err:
return -1;
}
+#ifndef target_ar71xx
int
trx_check(int imagefd, const char *mtd, char *buf, int *len)
{
@@ -141,6 +142,7 @@ trx_check(int imagefd, const char *mtd, char *buf, int *len)
close(fd);
return 1;
}
+#endif
int
mtd_fixtrx(const char *mtd, size_t offset)