iwlwifi: fix various more -Wcast-qual warnings
[linux-2.6-microblaze.git] / drivers / net / wireless / intel / iwlwifi / fw / pnvm.c
index 0177f9e..b6d3ac6 100644 (file)
@@ -181,7 +181,7 @@ static int iwl_pnvm_parse(struct iwl_trans *trans, const u8 *data,
                u32 tlv_len, tlv_type;
 
                len -= sizeof(*tlv);
-               tlv = (void *)data;
+               tlv = (const void *)data;
 
                tlv_len = le32_to_cpu(tlv->length);
                tlv_type = le32_to_cpu(tlv->type);