Skip to content
Commit b1a367bb authored by Stephen Boyd's avatar Stephen Boyd Committed by Georgi Djakov
Browse files

interconnect: qcom: osm-l3: Mark more structures const



These structures aren't modified at runtime. Mark them const so they get
moved to read-only memory. We have to cast away const in one place when
we store into the data member of struct icc_node. This is paired with a
re-const of the data member when it is extracted in qcom_icc_set().

Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
Reviewed-by: default avatarEvan Green <evgreen@chromium.org>
Link: https://lore.kernel.org/r/20200914182112.513981-1-swboyd@chromium.org


Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent d7e19be6
Loading
Loading
Loading
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