diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2022-02-05 13:36:13 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-02-26 03:41:39 +0300 |
commit | fa6ffe65cce5e596a411f6a878f9ad6588f3b8a7 (patch) | |
tree | d0bcb3865226329b2ca3dca2a00b01cd02fbe6d8 /drivers/clk/pistachio | |
parent | eac03cb010a9f5df37550b6082a6a8ba5e8b84dc (diff) | |
download | linux-fa6ffe65cce5e596a411f6a878f9ad6588f3b8a7.tar.xz |
clk: pistachio: Declare mux table as const u32[]
Now that clk_register_mux_table takes a const u32 *, we can declare the
mux table as const u32[].
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20220205103613.1216218-8-j.neuschaefer@gmx.net
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/pistachio')
-rw-r--r-- | drivers/clk/pistachio/clk-pistachio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/pistachio/clk-pistachio.c b/drivers/clk/pistachio/clk-pistachio.c index 76f492c7e917..2a6d583237dc 100644 --- a/drivers/clk/pistachio/clk-pistachio.c +++ b/drivers/clk/pistachio/clk-pistachio.c @@ -154,7 +154,7 @@ static struct pistachio_pll pistachio_plls[] __initdata = { PNAME(mux_debug) = { "mips_pll_mux", "rpu_v_pll_mux", "rpu_l_pll_mux", "sys_pll_mux", "wifi_pll_mux", "bt_pll_mux" }; -static u32 mux_debug_idx[] = { 0x0, 0x1, 0x2, 0x4, 0x8, 0x10 }; +static const u32 mux_debug_idx[] = { 0x0, 0x1, 0x2, 0x4, 0x8, 0x10 }; static unsigned int pistachio_critical_clks_core[] __initdata = { CLK_MIPS |