Skip to contentSkip to conversation

ath9k: fix compilation without CONFIG_ATH9K_DEBUGFS

PATCH In review Pavel Roskin 2 participants 3 messages Apr 7, 2010 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: fix compilation without CONFIG_ATH9K_DEBUGFS

Make arguments of ath_debug_stat_tx() and ath_debug_stat_rx() stubs match those of the same functions with CONFIG_ATH9K_DEBUGFS defined.

---
 drivers/net/wireless/ath/ath9k/debug.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/ath9k/debug.h +3 -2
index 9551d8e..b2af9de 100644
@@ -204,12 +204,13 @@ static inline void ath_debug_stat_rc(struct ath_softc *sc,
 
 static inline void ath_debug_stat_tx(struct ath_softc *sc,
 				     struct ath_txq *txq,
-				     struct ath_buf *bf)
+				     struct ath_buf *bf,
+				     struct ath_tx_status *ts)
 {
 }
 
 static inline void ath_debug_stat_rx(struct ath_softc *sc,
-				     struct ath_buf *bf)
+				     struct ath_rx_status *rs)
 {
 }
 
#1 lore raw
Quoted 4 lines · Pavel Roskin

Make arguments of ath_debug_stat_tx() and ath_debug_stat_rx() stubs match those of the same functions with CONFIG_ATH9K_DEBUGFS defined.

Isn't that the same as what I already sent on March 31st?

- Felix

#2 lore raw
Quoted 6 lines · Felix Fietkau
Quoted 4 lines · Pavel Roskin

Make arguments of ath_debug_stat_tx() and ath_debug_stat_rx() stubs match those of the same functions with CONFIG_ATH9K_DEBUGFS defined.

Isn't that the same as what I already sent on March 31st?

That's it exactly. Sorry, I missed it.

John, please commit it soon. It's a compile issue.

Signature · 2 lines
Regards,
Pavel Roskin