carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG compile error
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:31:14 +0000 (23:31 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:31:14 +0000 (23:31 +0100)
wlan.c:59:7: error: assignment discards ‘volatile’ qualifier from pointer target type

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/wlan.c

index 0f4dfeba074dfb53c898cb0bfb59887a7caca1d9..384d8d1118fafb89d994895ba2841ca66081fb04 100644 (file)
@@ -56,7 +56,7 @@ static void wlan_dump_queue(unsigned int qidx)
                entries++;
        }
 
                entries++;
        }
 
-       desc = get_wlan_txq_addr(qidx);
+       desc = (struct dma_desc *)get_wlan_txq_addr(qidx);
 
        DBG("Queue: %d: te:%d td:%d h:%p c:%p t:%p",
            qidx, entries, queue_len(&fw.wlan.tx_queue[qidx]),
 
        DBG("Queue: %d: te:%d td:%d h:%p c:%p t:%p",
            qidx, entries, queue_len(&fw.wlan.tx_queue[qidx]),