build fix: add type convert ath_desc ath_rx_desc 5/head
authorOleksij Rempel <linux@rempel-privat.de>
Mon, 1 Apr 2013 06:26:41 +0000 (08:26 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Mon, 1 Apr 2013 06:26:41 +0000 (08:26 +0200)
in this case there is nothing to fix. dd_desc can be used by different
struct types, rx and tx.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath.c

index b787a8439181c9c6f77a878abaef5d0cb3ed1cbf..baf1ae6017d3bb24abfee8d5a6d49f49827ef762 100755 (executable)
@@ -933,7 +933,7 @@ static a_int32_t ath_desc_alloc(struct ath_softc_tgt *sc)
 
        a_uint32_t i;
        struct ath_descdma *dd = &sc->sc_rxdma;
-       struct ath_rx_desc *ds = dd->dd_desc;
+       struct ath_rx_desc *ds = (struct ath_rx_desc *)dd->dd_desc;
        struct ath_rx_desc *ds_prev = NULL;
 
        asf_tailq_init(&sc->sc_rxdesc);