diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-23 00:28:18 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-11-22 23:06:23 -0600 |
commit | 0af104d729614de44c8eb5069353c8985cb17442 (patch) | |
tree | 05a3bb40d2e21c945c665ce92ad64eca6cb870c4 /net/rxrpc | |
parent | a161ffe4b877721d8917e18e70461d255a090f19 (diff) |
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 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions