]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/net/wireless/ath/ath10k/spectral.h
ath10k: move spectral scan support under a separate config symbol
[mirror_ubuntu-jammy-kernel.git] / drivers / net / wireless / ath / ath10k / spectral.h
index 89b0ad769d4f98388b619ab7736debd6894749db..b2a2e8ae04b8cf5d9da02fd65d4bf177a1d24660 100644 (file)
@@ -44,7 +44,7 @@ enum ath10k_spectral_mode {
        SPECTRAL_MANUAL,
 };
 
-#ifdef CONFIG_ATH10K_DEBUGFS
+#ifdef CONFIG_ATH10K_SPECTRAL
 
 int ath10k_spectral_process_fft(struct ath10k *ar,
                                struct wmi_phyerr_ev_arg *phyerr,
@@ -85,6 +85,6 @@ static inline void ath10k_spectral_destroy(struct ath10k *ar)
 {
 }
 
-#endif /* CONFIG_ATH10K_DEBUGFS */
+#endif /* CONFIG_ATH10K_SPECTRAL */
 
 #endif /* SPECTRAL_H */