Skip to content
Snippets Groups Projects
Commit b5094a3b authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Jakub Kicinski
Browse files

soc: qcom: ipa: Constify static qmi structs


These 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: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: default avatarAlex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20201122234031.33432-2-rikard.falkeborn@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent fd897679
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment