summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/qmi.c
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2022-09-15 02:26:12 +0200
committerKalle Valo <quic_kvalo@quicinc.com>2022-11-03 07:06:52 +0100
commit11e1fcf2b494da810d551553c46f739e36501adc (patch)
tree4937cbdbc13e2b174093c229840af02ee0321370 /drivers/net/wireless/ath/ath10k/qmi.c
parentwifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type (diff)
downloadlinux-11e1fcf2b494da810d551553c46f739e36501adc.tar.xz
linux-11e1fcf2b494da810d551553c46f739e36501adc.zip
wifi: ath10k: Make QMI message rules const
Commit ff6d365898d4 ("soc: qcom: qmi: use const for struct qmi_elem_info") allows QMI message encoding/decoding rules to be const, so do that for ath10k. Compile tested only. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220915002612.13394-1-quic_jjohnson@quicinc.com
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/qmi.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/qmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/qmi.c b/drivers/net/wireless/ath/ath10k/qmi.c
index 66cb7a1e628a..8930a0f4c42f 100644
--- a/drivers/net/wireless/ath/ath10k/qmi.c
+++ b/drivers/net/wireless/ath/ath10k/qmi.c
@@ -618,7 +618,7 @@ static int ath10k_qmi_host_cap_send_sync(struct ath10k_qmi *qmi)
{
struct wlfw_host_cap_resp_msg_v01 resp = {};
struct wlfw_host_cap_req_msg_v01 req = {};
- struct qmi_elem_info *req_ei;
+ const struct qmi_elem_info *req_ei;
struct ath10k *ar = qmi->ar;
struct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);
struct qmi_txn txn;