projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72dd820
)
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 2 Sep 2014 21:06:35 +0000
(21:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 2 Sep 2014 21:06:35 +0000
(21:06 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42405
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/system/mtd/src/trx.c
patch
|
blob
|
history
diff --git
a/package/system/mtd/src/trx.c
b/package/system/mtd/src/trx.c
index
86d62fc
..
089d1ac
100644
(file)
--- 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)