Skip to content

Commit fa6ffe6

Browse files
neuschaeferbebarino
authored andcommitted
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>
1 parent eac03cb commit fa6ffe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/pistachio/clk-pistachio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static struct pistachio_pll pistachio_plls[] __initdata = {
154154
PNAME(mux_debug) = { "mips_pll_mux", "rpu_v_pll_mux",
155155
"rpu_l_pll_mux", "sys_pll_mux",
156156
"wifi_pll_mux", "bt_pll_mux" };
157-
static u32 mux_debug_idx[] = { 0x0, 0x1, 0x2, 0x4, 0x8, 0x10 };
157+
static const u32 mux_debug_idx[] = { 0x0, 0x1, 0x2, 0x4, 0x8, 0x10 };
158158

159159
static unsigned int pistachio_critical_clks_core[] __initdata = {
160160
CLK_MIPS

0 commit comments

Comments
 (0)