build fix: PHY_ADDR should be uint32
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 12:56:23 +0000 (14:56 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 18:05:34 +0000 (20:05 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_athvar.h

index f5ac24fb28753ebe821c5f69ae26357ea2e187cf..4ff4a006f6ea8597a1ef78909d4aada8d0a7dd05 100755 (executable)
@@ -229,7 +229,7 @@ struct ath_rx_buf
        struct ath_rx_status  bf_rx_status;
 };
 
-#define ATH_BUF_GET_DESC_PHY_ADDR(bf)                       bf->bf_desc
+#define ATH_BUF_GET_DESC_PHY_ADDR(bf)                       (a_uint32_t)bf->bf_desc
 #define ATH_BUF_GET_DESC_PHY_ADDR_WITH_IDX(bf, idx)         (adf_os_dma_addr_t)(&bf->bf_descarr[idx])
 #define ATH_BUF_SET_DESC_PHY_ADDR(bf, addr)
 #define ATH_BUF_SET_DESC_PHY_ADDR_WITH_IDX(bf, idx, addr)