From a45bc253697e1979785457b4f1c19dcd8d532378 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Thu, 28 Mar 2013 16:44:08 +0100 Subject: [PATCH] build fix: use struct ath_tx_buf for ath_dma_map and ath_dma_unmap Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_owl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index f2c3b2f..aa09b1e 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -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; -- 2.25.1