soc: qcom: pdr: Constify static qmi structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sun, 22 Nov 2020 23:28:18 +0000 (00:28 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 23 Nov 2020 05:06:23 +0000 (23:06 -0600)
commit0af104d729614de44c8eb5069353c8985cb17442
tree05a3bb40d2e21c945c665ce92ad64eca6cb870c4
parenta161ffe4b877721d8917e18e70461d255a090f19
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>
drivers/soc/qcom/pdr_interface.c