Author: nbd Date: 2014-09-02 23:06:35 +0200 (Tue, 02 Sep 2014) New Revision: 42405
Modified: trunk/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]> Modified: trunk/package/system/mtd/src/trx.c =================================================================== --- trunk/package/system/mtd/src/trx.c 2014-09-02 17:14:24 UTC (rev 42404) +++ trunk/package/system/mtd/src/trx.c 2014-09-02 21:06:35 UTC (rev 42405) @@ -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
