diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-11-08 00:36:29 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-11-17 21:46:49 -0600 |
commit | bb7eda7eddf1f8002e00a5147aff91fad8caf2d5 (patch) | |
tree | 14c5411c42db7f7bf15b3f2498434ab91ec29f8a /drivers/remoteproc/stm32_rproc.c | |
parent | 2316822989a33308e8a428d495e89f767b367c01 (diff) | |
download | linux-next-bb7eda7eddf1f8002e00a5147aff91fad8caf2d5.tar.gz |
remoteproc: ingenic: Constify ingenic_rproc_ops
The only usage of ingenic_rproc_ops is to pass its address to
devm_rproc_alloc(), which accepts a const pointer. Make it const to
allow the compiler to put it in read-only memory.
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201107233630.9728-2-rikard.falkeborn@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/stm32_rproc.c')
0 files changed, 0 insertions, 0 deletions