Author: nbd Date: 2014-09-02 23:06:59 +0200 (Tue, 02 Sep 2014) New Revision: 42406
Modified: branches/barrier_breaker/package/system/mtd/src/trx.c Log: mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403 Signed-off-by: Felix Fietkau <[email protected]> Backport of r42405 Modified: branches/barrier_breaker/package/system/mtd/src/trx.c =================================================================== --- branches/barrier_breaker/package/system/mtd/src/trx.c 2014-09-02 21:06:35 UTC (rev 42405) +++ branches/barrier_breaker/package/system/mtd/src/trx.c 2014-09-02 21:06:59 UTC (rev 42406) @@ -101,6 +101,7 @@ return -1; } +#ifndef target_ar71xx int trx_check(int imagefd, const char *mtd, char *buf, int *len) { @@ -141,6 +142,7 @@ close(fd); return 1; } +#endif int mtd_fixtrx(const char *mtd, size_t offset) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
