diff options
author | 2020-11-23 00:28:18 +0100 | |
---|---|---|
committer | 2020-11-22 23:06:23 -0600 | |
commit | 0af104d729614de44c8eb5069353c8985cb17442 (patch) | |
tree | 05a3bb40d2e21c945c665ce92ad64eca6cb870c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: qcom: initialize local variable (diff) | |
download | wireguard-linux-0af104d729614de44c8eb5069353c8985cb17442.tar.xz wireguard-linux-0af104d729614de44c8eb5069353c8985cb17442.zip |
soc: qcom: pdr: Constify static qmi structs
Their only usage is to pass their address 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>
Link: https://lore.kernel.org/r/20201122232818.32072-1-rikard.falkeborn@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions