From: Oleksij Rempel Date: Sun, 31 Mar 2013 15:28:42 +0000 (+0200) Subject: build fix: ath_txq_add_fn_t and ath_tx_comp_fn_t use ath_tx_buf X-Git-Tag: 1.3.2~10^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=803748c7b61a4b77c7aff75665177bf1ff6488c0;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: ath_txq_add_fn_t and ath_tx_comp_fn_t use ath_tx_buf Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index 64b7df9..3633685 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -146,8 +146,10 @@ struct ath_txq; #define ath_free_rx_skb(_sc,_skb) BUF_Pool_free_buf(_sc->pool_handle, POOL_ID_WLAN_RX_BUF, _skb) #define ath_free_tx_skb(_htc_handle, endpt, _skb) HTC_ReturnBuffers(_htc_handle, endpt, _skb); -typedef void (*ath_txq_add_fn_t)(struct ath_softc_tgt *sc, struct ath_buf *bf); -typedef void (*ath_tx_comp_fn_t)(struct ath_softc_tgt *sc, struct ath_buf *bf); +struct ath_tx_buf; + +typedef void (*ath_txq_add_fn_t)(struct ath_softc_tgt *sc, struct ath_tx_buf *bf); +typedef void (*ath_tx_comp_fn_t)(struct ath_softc_tgt *sc, struct ath_tx_buf *bf); struct ath_buf_state { ath_tx_comp_fn_t bfs_comp; /* completion function */