diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-23 00:45:40 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-11-24 05:02:37 +0100 |
commit | dd8f52660cb1f6fac0b4cc8adb3f008edd2c14d2 (patch) | |
tree | f144dca46dd94dea319a70cf892fc9760ec88173 /drivers/remoteproc/imx_rproc.c | |
parent | remoteproc/mediatek: skip if filesz is 0 (diff) | |
download | linux-dd8f52660cb1f6fac0b4cc8adb3f008edd2c14d2.tar.xz linux-dd8f52660cb1f6fac0b4cc8adb3f008edd2c14d2.zip |
remoteproc: qcom_sysmon: Constify qmi_indication_handler
The only usage of qmi_indication_handler[] is to pass its address to
qmi_handle_init() which accepts a const pointer. Make it const to allow
the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201122234540.34623-1-rikard.falkeborn@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/imx_rproc.c')
0 files changed, 0 insertions, 0 deletions