diff options
author | 2024-10-01 11:00:11 +0200 | |
---|---|---|
committer | 2024-10-09 16:11:35 -0700 | |
commit | d22e5f9bbb9ad60e7d3e030e006b1f05327614c5 (patch) | |
tree | ede6b73f922bf8c601e89b830a2c4ab7fa14b496 /scripts/generate_rust_analyzer.py | |
parent | clk: Drop explicit initialization of struct i2c_device_id::driver_data to 0 (diff) | |
download | wireguard-linux-d22e5f9bbb9ad60e7d3e030e006b1f05327614c5.tar.xz wireguard-linux-d22e5f9bbb9ad60e7d3e030e006b1f05327614c5.zip |
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: Javier 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: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions