aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath10k/debug.h8
-rw-r--r--drivers/net/wireless/ath/ath6kl/common.h3
-rw-r--r--drivers/net/wireless/ath/ath6kl/debug.h9
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h2
4 files changed, 10 insertions, 12 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.h b/drivers/net/wireless/ath/ath10k/debug.h
index 168140c54028..bb0063320397 100644
--- a/drivers/net/wireless/ath/ath10k/debug.h
+++ b/drivers/net/wireless/ath/ath10k/debug.h
@@ -37,9 +37,9 @@ enum ath10k_debug_mask {
37 37
38extern unsigned int ath10k_debug_mask; 38extern unsigned int ath10k_debug_mask;
39 39
40extern __printf(1, 2) int ath10k_info(const char *fmt, ...); 40__printf(1, 2) int ath10k_info(const char *fmt, ...);
41extern __printf(1, 2) int ath10k_err(const char *fmt, ...); 41__printf(1, 2) int ath10k_err(const char *fmt, ...);
42extern __printf(1, 2) int ath10k_warn(const char *fmt, ...); 42__printf(1, 2) int ath10k_warn(const char *fmt, ...);
43 43
44#ifdef CONFIG_ATH10K_DEBUGFS 44#ifdef CONFIG_ATH10K_DEBUGFS
45int ath10k_debug_create(struct ath10k *ar); 45int ath10k_debug_create(struct ath10k *ar);
@@ -68,7 +68,7 @@ static inline void ath10k_debug_read_target_stats(struct ath10k *ar,
68#endif /* CONFIG_ATH10K_DEBUGFS */ 68#endif /* CONFIG_ATH10K_DEBUGFS */
69 69
70#ifdef CONFIG_ATH10K_DEBUG 70#ifdef CONFIG_ATH10K_DEBUG
71extern __printf(2, 3) void ath10k_dbg(enum ath10k_debug_mask mask, 71__printf(2, 3) void ath10k_dbg(enum ath10k_debug_mask mask,
72 const char *fmt, ...); 72 const char *fmt, ...);
73void ath10k_dbg_dump(enum ath10k_debug_mask mask, 73void ath10k_dbg_dump(enum ath10k_debug_mask mask,
74 const char *msg, const char *prefix, 74 const char *msg, const char *prefix,
diff --git a/drivers/net/wireless/ath/ath6kl/common.h b/drivers/net/wireless/ath/ath6kl/common.h
index 98a886154d9c..05debf700a84 100644
--- a/drivers/net/wireless/ath/ath6kl/common.h
+++ b/drivers/net/wireless/ath/ath6kl/common.h
@@ -22,8 +22,7 @@
22 22
23#define ATH6KL_MAX_IE 256 23#define ATH6KL_MAX_IE 256
24 24
25extern __printf(2, 3) 25__printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...);
26int ath6kl_printk(const char *level, const char *fmt, ...);
27 26
28/* 27/*
29 * Reflects the version of binary interface exposed by ATH6KL target 28 * Reflects the version of binary interface exposed by ATH6KL target
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h
index 74369de00fb5..ca9ba005f287 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.h
+++ b/drivers/net/wireless/ath/ath6kl/debug.h
@@ -50,11 +50,10 @@ enum ATH6K_DEBUG_MASK {
50}; 50};
51 51
52extern unsigned int debug_mask; 52extern unsigned int debug_mask;
53extern __printf(2, 3) 53__printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...);
54int ath6kl_printk(const char *level, const char *fmt, ...); 54__printf(1, 2) int ath6kl_info(const char *fmt, ...);
55extern __printf(1, 2) int ath6kl_info(const char *fmt, ...); 55__printf(1, 2) int ath6kl_err(const char *fmt, ...);
56extern __printf(1, 2) int ath6kl_err(const char *fmt, ...); 56__printf(1, 2) int ath6kl_warn(const char *fmt, ...);
57extern __printf(1, 2) int ath6kl_warn(const char *fmt, ...);
58 57
59enum ath6kl_war { 58enum ath6kl_war {
60 ATH6KL_WAR_INVALID_RATE, 59 ATH6KL_WAR_INVALID_RATE,
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 2ee35f677c0e..da24ba2a5b41 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -952,7 +952,7 @@ void ath9k_ps_restore(struct ath_softc *sc);
952u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate); 952u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
953 953
954void ath_start_rfkill_poll(struct ath_softc *sc); 954void ath_start_rfkill_poll(struct ath_softc *sc);
955extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); 955void ath9k_rfkill_poll_state(struct ieee80211_hw *hw);
956void ath9k_calculate_iter_data(struct ieee80211_hw *hw, 956void ath9k_calculate_iter_data(struct ieee80211_hw *hw,
957 struct ieee80211_vif *vif, 957 struct ieee80211_vif *vif,
958 struct ath9k_vif_iter_data *iter_data); 958 struct ath9k_vif_iter_data *iter_data);