diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2014-10-25 11:19:33 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2014-10-27 14:16:19 -0400 |
| commit | a59dadbeeaf7d33f2e92dbf5a290965d6df64162 (patch) | |
| tree | 4289421c3a2c5cde45d6272360e1aaaafbb11402 /include/linux | |
| parent | 7b89fccf1547722115538976e0d9b989f5e12e9b (diff) | |
ath9k: add support for endian swap of eeprom from platform data
On some devices (especially little-endian ones), the flash EEPROM data
has a different endian, which needs to be detected.
Add a flag to the platform data to allow overriding that behavior
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ath9k_platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h index a495a959e8a7..43501657bce9 100644 --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h | |||
| @@ -31,6 +31,7 @@ struct ath9k_platform_data { | |||
| 31 | u32 gpio_mask; | 31 | u32 gpio_mask; |
| 32 | u32 gpio_val; | 32 | u32 gpio_val; |
| 33 | 33 | ||
| 34 | bool endian_check; | ||
| 34 | bool is_clk_25mhz; | 35 | bool is_clk_25mhz; |
| 35 | bool tx_gain_buffalo; | 36 | bool tx_gain_buffalo; |
| 36 | 37 | ||
