build fix: ath_txq_add_fn_t and ath_tx_comp_fn_t use ath_tx_buf
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 15:28:42 +0000 (17:28 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 18:05:35 +0000 (20:05 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_athvar.h

index 64b7df93c85d93436b655dc35d6dbd67bce95da2..363368509deda313327a0dbd8b2573db93366464 100755 (executable)
@@ -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          */