diff options
author | Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com> | 2016-04-26 11:24:36 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-05-06 11:55:36 -0400 |
commit | de46d165658fbfcec8d083513fb96dec6d28d454 (patch) | |
tree | a6d105072a26cb7adc90e1052b8104852d3b2558 /drivers/net | |
parent | 94ee3f19b15e6193cddab8f7a82af0023efff101 (diff) |
ath10k: move spectral related structures under ath10k debugfs
Spectral related structures are accessed / modified only if ath10k
debugfs is enabled, so it makes more sense to move them under
ATH10K_DEBUGFS
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 1379054000f9..ff8d2f997f83 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h | |||
@@ -883,8 +883,6 @@ struct ath10k { | |||
883 | 883 | ||
884 | #ifdef CONFIG_ATH10K_DEBUGFS | 884 | #ifdef CONFIG_ATH10K_DEBUGFS |
885 | struct ath10k_debug debug; | 885 | struct ath10k_debug debug; |
886 | #endif | ||
887 | |||
888 | struct { | 886 | struct { |
889 | /* relay(fs) channel for spectral scan */ | 887 | /* relay(fs) channel for spectral scan */ |
890 | struct rchan *rfs_chan_spec_scan; | 888 | struct rchan *rfs_chan_spec_scan; |
@@ -893,6 +891,7 @@ struct ath10k { | |||
893 | enum ath10k_spectral_mode mode; | 891 | enum ath10k_spectral_mode mode; |
894 | struct ath10k_spec_scan config; | 892 | struct ath10k_spec_scan config; |
895 | } spectral; | 893 | } spectral; |
894 | #endif | ||
896 | 895 | ||
897 | struct { | 896 | struct { |
898 | /* protected by conf_mutex */ | 897 | /* protected by conf_mutex */ |