diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-06-23 16:57:09 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-07-08 17:01:14 +0300 |
commit | 3467f0d433016c45d1851f3587d32816b7b2ffb0 (patch) | |
tree | 86c0d2ac4230b9226d2b3bd37ef511c00cb6c112 /include/linux/ath9k_platform.h | |
parent | 86ceae90d3f9580d8c69f814d252cde80f85b404 (diff) | |
download | lwn-3467f0d433016c45d1851f3587d32816b7b2ffb0.tar.gz lwn-3467f0d433016c45d1851f3587d32816b7b2ffb0.zip |
ath9k: Allow configuration of LED polarity in platform data.
Some devices running OpenWrt need this and it makes sense to add this
to ath9k_platform_data as the next patches will add a devicetree
(boolean) property for it as well.
Suggested-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/linux/ath9k_platform.h')
-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 e66153d60bd5..76860a461ed2 100644 --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h @@ -40,6 +40,7 @@ struct ath9k_platform_data { bool tx_gain_buffalo; bool disable_2ghz; bool disable_5ghz; + bool led_active_high; int (*get_mac_revision)(void); int (*external_reset)(void); |