Commit de46d165 authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Kalle Valo

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: default avatarMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 94ee3f19
...@@ -883,8 +883,6 @@ struct ath10k { ...@@ -883,8 +883,6 @@ struct ath10k {
#ifdef CONFIG_ATH10K_DEBUGFS #ifdef CONFIG_ATH10K_DEBUGFS
struct ath10k_debug debug; struct ath10k_debug debug;
#endif
struct { struct {
/* relay(fs) channel for spectral scan */ /* relay(fs) channel for spectral scan */
struct rchan *rfs_chan_spec_scan; struct rchan *rfs_chan_spec_scan;
...@@ -893,6 +891,7 @@ struct ath10k { ...@@ -893,6 +891,7 @@ struct ath10k {
enum ath10k_spectral_mode mode; enum ath10k_spectral_mode mode;
struct ath10k_spec_scan config; struct ath10k_spec_scan config;
} spectral; } spectral;
#endif
struct { struct {
/* protected by conf_mutex */ /* protected by conf_mutex */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment