summaryrefslogtreecommitdiff
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-27 13:21:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-27 13:21:53 +0000
commit5f799a0e97f517c052c1dab918917a6ab673f908 (patch)
tree73762d28b17a5bd1ae7e0eee8977e2674cb5bafe /target/linux/generic/files
parent2143633bd2c44eadfe271f0e6c7355e6e10bafed (diff)
downloadmtk-20170518-5f799a0e97f517c052c1dab918917a6ab673f908.zip
mtk-20170518-5f799a0e97f517c052c1dab918917a6ab673f908.tar.gz
mtk-20170518-5f799a0e97f517c052c1dab918917a6ab673f908.tar.bz2
ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done. Enable endian check for the lantiq target. SVN-Revision: 31084
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/include/linux/ath9k_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ath9k_platform.h b/target/linux/generic/files/include/linux/ath9k_platform.h
index b37d23d..15b9137 100644
--- a/target/linux/generic/files/include/linux/ath9k_platform.h
+++ b/target/linux/generic/files/include/linux/ath9k_platform.h
@@ -29,6 +29,7 @@ struct ath9k_platform_data {
u32 gpio_mask;
u32 gpio_val;
+ bool endian_check;
bool is_clk_25mhz;
int (*get_mac_revision)(void);
int (*external_reset)(void);