ath9k: dfs kill ath9k specyfic code
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / ath / ath9k / dfs_pattern_detector.h
index 90a5abcc4265aeeddcaa012058de9e3c6838d415..b09946fed9382bdd39a63f006f5696000b483e8b 100644 (file)
@@ -81,7 +81,7 @@ struct dfs_pattern_detector {
        u8 num_radar_types;
        u64 last_pulse_ts;
        /* needed for ath_dbg() */
-       struct ath_hw *ah;
+       struct ath_common *common;
 
        const struct radar_detector_specs *radar_spec;
        struct list_head channel_detectors;
@@ -94,10 +94,12 @@ struct dfs_pattern_detector {
  */
 #if defined(CONFIG_ATH9K_DFS_CERTIFIED)
 extern struct dfs_pattern_detector *
-dfs_pattern_detector_init(struct ath_hw *ah, enum nl80211_dfs_regions region);
+dfs_pattern_detector_init(struct ath_common *common,
+                         enum nl80211_dfs_regions region);
 #else
 static inline struct dfs_pattern_detector *
-dfs_pattern_detector_init(struct ath_hw *ah, enum nl80211_dfs_regions region)
+dfs_pattern_detector_init(struct ath_common *common,
+                         enum nl80211_dfs_regions region)
 {
        return NULL;
 }