diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-09-02 21:06:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-09-02 21:06:59 +0000 |
commit | 27765b41efeb3c01d3e08084657e8213240cbf2e (patch) | |
tree | f0753f0648f263e75db28c7f9038d5a72bf11352 /package/system/mtd/src/trx.c | |
parent | f592d54ee488c6c5581da43d4a3f6d4e6c719462 (diff) | |
download | upstream-27765b41efeb3c01d3e08084657e8213240cbf2e.tar.gz upstream-27765b41efeb3c01d3e08084657e8213240cbf2e.tar.bz2 upstream-27765b41efeb3c01d3e08084657e8213240cbf2e.zip |
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42405
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/mtd/src/trx.c')
-rw-r--r-- | package/system/mtd/src/trx.c | 2 |
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) |