From: Christian Lamparter Date: Thu, 17 Jan 2013 22:31:14 +0000 (+0100) Subject: carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG compile error X-Git-Tag: 1.9.8~20 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9b7dfffaa0260569411df848fc028128ccbaf153;p=carl9170fw.git carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG compile error wlan.c:59:7: error: assignment discards ‘volatile’ qualifier from pointer target type Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/wlan.c b/carlfw/src/wlan.c index 0f4dfeb..384d8d1 100644 --- a/carlfw/src/wlan.c +++ b/carlfw/src/wlan.c @@ -56,7 +56,7 @@ static void wlan_dump_queue(unsigned int qidx) 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]),