diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r-- | drivers/net/wireless/ath/ath.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 908fdbc3e0ee..0f9ee46cfc97 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h | |||
@@ -173,8 +173,7 @@ bool ath_hw_keyreset(struct ath_common *common, u16 entry); | |||
173 | void ath_hw_cycle_counters_update(struct ath_common *common); | 173 | void ath_hw_cycle_counters_update(struct ath_common *common); |
174 | int32_t ath_hw_get_listen_time(struct ath_common *common); | 174 | int32_t ath_hw_get_listen_time(struct ath_common *common); |
175 | 175 | ||
176 | extern __attribute__((format (printf, 2, 3))) | 176 | extern __printf(2, 3) void ath_printk(const char *level, const char *fmt, ...); |
177 | void ath_printk(const char *level, const char *fmt, ...); | ||
178 | 177 | ||
179 | #define _ath_printk(level, common, fmt, ...) \ | 178 | #define _ath_printk(level, common, fmt, ...) \ |
180 | do { \ | 179 | do { \ |
@@ -258,7 +257,7 @@ do { \ | |||
258 | 257 | ||
259 | #else | 258 | #else |
260 | 259 | ||
261 | static inline __attribute__((format (printf, 3, 4))) | 260 | static inline __attribute__ ((format (printf, 3, 4))) |
262 | void ath_dbg(struct ath_common *common, enum ATH_DEBUG dbg_mask, | 261 | void ath_dbg(struct ath_common *common, enum ATH_DEBUG dbg_mask, |
263 | const char *fmt, ...) | 262 | const char *fmt, ...) |
264 | { | 263 | { |