aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/debug.h
diff options
context:
space:
mode:
authorGravatar Felix Fietkau <nbd@openwrt.org> 2013-12-19 18:01:48 +0100
committerGravatar John W. Linville <linville@tuxdriver.com> 2013-12-19 14:41:56 -0500
commit6a4d05dc0c0178b0c30dbda6e9bb79b5dd9662f5 (patch)
treeaea41315bf3b8ad84a2b164246d7b10873f356d2 /drivers/net/wireless/ath/ath9k/debug.h
parentbcma: add missing put_device call (diff)
downloadlinux-6a4d05dc0c0178b0c30dbda6e9bb79b5dd9662f5.tar.gz
linux-6a4d05dc0c0178b0c30dbda6e9bb79b5dd9662f5.tar.bz2
linux-6a4d05dc0c0178b0c30dbda6e9bb79b5dd9662f5.zip
ath9k: move ath9k_debug_sync_cause out of ath9k_hw
ath9k_hw should not depend on any ath9k data structures like ath_softc Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.h b/drivers/net/wireless/ath/ath9k/debug.h
index 4f596ddeb15d..ec02d38ea8ea 100644
--- a/drivers/net/wireless/ath/ath9k/debug.h
+++ b/drivers/net/wireless/ath/ath9k/debug.h
@@ -295,6 +295,8 @@ void ath9k_sta_add_debugfs(struct ieee80211_hw *hw,
void ath9k_debug_stat_ant(struct ath_softc *sc,
struct ath_hw_antcomb_conf *div_ant_conf,
int main_rssi_avg, int alt_rssi_avg);
+void ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause);
+
#else
#define RX_STAT_INC(c) /* NOP */
@@ -329,6 +331,11 @@ static inline void ath9k_debug_stat_ant(struct ath_softc *sc,
}
+static inline void
+ath9k_debug_sync_cause(struct ath_softc *sc, u32 sync_cause)
+{
+}
+
#endif /* CONFIG_ATH9K_DEBUGFS */
#endif /* DEBUG_H */