From: Javier Carrasco Date: Wed, 3 Jul 2024 09:50:15 +0000 (+0200) Subject: clk: meson: a1: pll: Constify struct regmap_config X-Git-Tag: v6.12-rc1~83^2~2^2^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c6ffe3537d55834dfd36f5649b637a5a9d27032;p=thirdparty%2Fkernel%2Flinux.git clk: meson: a1: pll: Constify struct regmap_config `a1_pll_regmap_cfg` is not modified and can be declared as const to move its data to a read-only section. Signed-off-by: Javier Carrasco Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20240703-clk-const-regmap-v1-2-7d15a0671d6f@gmail.com Signed-off-by: Jerome Brunet --- diff --git a/drivers/clk/meson/a1-pll.c b/drivers/clk/meson/a1-pll.c index a16e537d139ac..4d0a6305b07f4 100644 --- a/drivers/clk/meson/a1-pll.c +++ b/drivers/clk/meson/a1-pll.c @@ -295,7 +295,7 @@ static struct clk_regmap *const a1_pll_regmaps[] = { &hifi_pll, }; -static struct regmap_config a1_pll_regmap_cfg = { +static const struct regmap_config a1_pll_regmap_cfg = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4,