summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-11-25 00:29:54 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-11-25 02:08:47 +0300
commitbfc1b6597f58040ff9116f5acc84ccd6367e2d59 (patch)
tree085d91229766980cd94cf0b0714c346d47362504 /.gitattributes
parent0af104d729614de44c8eb5069353c8985cb17442 (diff)
downloadlinux-bfc1b6597f58040ff9116f5acc84ccd6367e2d59.tar.xz
samples: qmi: Constify static qmi ops
The only usage of qmi_sample_handlers[] and lookup_ops is to pass their addresses 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/20201124212954.17750-1-rikard.falkeborn@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions