Skip to content
Commit d22e5f9b authored by Javier Carrasco's avatar Javier Carrasco Committed by Stephen Boyd
Browse files

clk: cdce925: make regmap_cdce925_bus constant



This struct is only used for the regmap initialization via
devm_regmap_init() (which expects a pointer to a const struct
regmap_bus, as it will not modify the struct), and it is not modified
after its declaration.

Move regmap_cdce925_bus to a read-only section.

Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20241001-clk-cdce925-regmap_bus-const-v1-1-49fc11555b04@gmail.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent af6bfa97
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