build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap
authorOleksij Rempel <linux@rempel-privat.de>
Thu, 28 Mar 2013 15:44:08 +0000 (16:44 +0100)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 30 Mar 2013 16:27:47 +0000 (17:27 +0100)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_owl.c

index f2c3b2fade8799fa33feea37cd721e7a4fe4ed3f..aa09b1ea146e9788164532f2904bc70bf8463876 100755 (executable)
@@ -222,7 +222,7 @@ static a_uint32_t ath_pkt_duration(struct ath_softc_tgt *sc,
        return duration;
 }
 
-static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_buf *bf)
+static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
 {
        adf_nbuf_t skb = bf->bf_skb;
 
@@ -230,7 +230,7 @@ static void ath_dma_map(struct ath_softc_tgt *sc, struct ath_buf *bf)
        adf_nbuf_map(sc->sc_dev, bf->bf_dmamap, skb, ADF_OS_DMA_TO_DEVICE);
 }
 
-static void ath_dma_unmap(struct ath_softc_tgt *sc, struct ath_buf *bf)
+static void ath_dma_unmap(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
 {
        adf_nbuf_t skb = bf->bf_skb;