pinctrl: realtek: Constify struct regmap_config
`rtd_pinctrl_regmap_config` is not modified and can be declared as const to move its data to a read-only section. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/20240704-pinctrl-const-regmap_config-v1-2-9d5570f0b9f3@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
d801403c33
commit
bebf833d33
@ -533,7 +533,7 @@ static const struct pinconf_ops rtd_pinconf_ops = {
|
||||
.pin_config_group_set = rtd_pin_config_group_set,
|
||||
};
|
||||
|
||||
static struct regmap_config rtd_pinctrl_regmap_config = {
|
||||
static const struct regmap_config rtd_pinctrl_regmap_config = {
|
||||
.reg_bits = 32,
|
||||
.val_bits = 32,
|
||||
.reg_stride = 4,
|
||||
|
Loading…
Reference in New Issue
Block a user