diff options
-rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/common.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/debug.h | 9 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 2 |
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 | ||
38 | extern unsigned int ath10k_debug_mask; | 38 | extern unsigned int ath10k_debug_mask; |
39 | 39 | ||
40 | extern __printf(1, 2) int ath10k_info(const char *fmt, ...); | 40 | __printf(1, 2) int ath10k_info(const char *fmt, ...); |
41 | extern __printf(1, 2) int ath10k_err(const char *fmt, ...); | 41 | __printf(1, 2) int ath10k_err(const char *fmt, ...); |
42 | extern __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 |
45 | int ath10k_debug_create(struct ath10k *ar); | 45 | int 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 |
71 | extern __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, ...); |
73 | void ath10k_dbg_dump(enum ath10k_debug_mask mask, | 73 | void 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 | ||
25 | extern __printf(2, 3) | 25 | __printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...); |
26 | int 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 | ||
52 | extern unsigned int debug_mask; | 52 | extern unsigned int debug_mask; |
53 | extern __printf(2, 3) | 53 | __printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...); |
54 | int ath6kl_printk(const char *level, const char *fmt, ...); | 54 | __printf(1, 2) int ath6kl_info(const char *fmt, ...); |
55 | extern __printf(1, 2) int ath6kl_info(const char *fmt, ...); | 55 | __printf(1, 2) int ath6kl_err(const char *fmt, ...); |
56 | extern __printf(1, 2) int ath6kl_err(const char *fmt, ...); | 56 | __printf(1, 2) int ath6kl_warn(const char *fmt, ...); |
57 | extern __printf(1, 2) int ath6kl_warn(const char *fmt, ...); | ||
58 | 57 | ||
59 | enum ath6kl_war { | 58 | enum 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); | |||
952 | u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate); | 952 | u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate); |
953 | 953 | ||
954 | void ath_start_rfkill_poll(struct ath_softc *sc); | 954 | void ath_start_rfkill_poll(struct ath_softc *sc); |
955 | extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); | 955 | void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); |
956 | void ath9k_calculate_iter_data(struct ieee80211_hw *hw, | 956 | void 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); |