diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-23 00:40:30 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-25 13:54:41 -0800 |
commit | b5094a3b535b5a258ab49ed9614948df63bc3557 (patch) | |
tree | 89704f7431054d868f5f0331cb6f503f1c89f30e /include/linux/lockdep.h | |
parent | fd8976790a6c1fee98bd7bc73754ddc9f01273ab (diff) | |
download | lwn-b5094a3b535b5a258ab49ed9614948df63bc3557.tar.gz lwn-b5094a3b535b5a258ab49ed9614948df63bc3557.zip |
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: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20201122234031.33432-2-rikard.falkeborn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/lockdep.h')
0 files changed, 0 insertions, 0 deletions