From 833c5aab7e6f5f9542e94eada1c07b96d5ab0e4d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 2 Sep 2014 21:06:35 +0000 Subject: [PATCH] mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403 Signed-off-by: Felix Fietkau SVN-Revision: 42405 --- package/system/mtd/src/trx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/system/mtd/src/trx.c b/package/system/mtd/src/trx.c index 86d62fc19e7..089d1ace463 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) -- 2.30.2