Skip to content
Snippets Groups Projects
Commit 1d7e9bc4 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Sasha Levin
Browse files

remoteproc: stm32: Constify st_rproc_ops


[ Upstream commit 0eee3d28 ]

The only usage of st_rproc_ops is to pass its address to rproc_alloc()
which accepts a const pointer. Make it const to allow the compiler to
put it in read-only memory.

Acked-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20201107233630.9728-3-rikard.falkeborn@gmail.com


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Stable-dep-of: 32381bbc ("remoteproc: stm32: Fix incorrect type in assignment for va")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b94f434f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment