diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-24 17:59:18 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-02 20:32:38 +0200 |
commit | ad37a46e8cb5e108ddb564ca431d05c4ba7cf052 (patch) | |
tree | d048d4b830a402597af3f06cce487419b57fc312 /arch/microblaze/configs | |
parent | 6364e693f4a7a89a2fb3dd2cbd6cc06d5fd6e26d (diff) |
ath10k: Constify static qmi structs
qmi_msg_handler[] and ath10k_qmi_ops are only used as input arguments
to qmi_handle_init() which accepts const pointers to both qmi_ops and
qmi_msg_handler. Make them const to allow the compiler to put them in
read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201122234031.33432-3-rikard.falkeborn@gmail.com
Diffstat (limited to 'arch/microblaze/configs')
0 files changed, 0 insertions, 0 deletions