kconfig: split the lexer out of zconf.y
[carl9170fw.git] / carlfw / src / wlan.c
index 0f4dfeba074dfb53c898cb0bfb59887a7caca1d9..4e73a2b1d99b111aba324a502ea7539efd5e346f 100644 (file)
@@ -19,8 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "carl9170.h"
@@ -56,7 +55,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]),