clk: ep93xx: make const read-only arrays static

Don't populate the const read-only arrays on the stack at run time,
instead make them static.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20250112213947.8524-1-colin.i.king@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by Colin Ian King and committed by Stephen Boyd 90036009 fa10b2df

+3 -3
+3 -3
drivers/clk/clk-ep93xx.c
··· 586 586 587 587 static int ep93xx_plls_init(struct ep93xx_clk_priv *priv) 588 588 { 589 - const char fclk_divisors[] = { 1, 2, 4, 8, 16, 1, 1, 1 }; 590 - const char hclk_divisors[] = { 1, 2, 4, 5, 6, 8, 16, 32 }; 591 - const char pclk_divisors[] = { 1, 2, 4, 8 }; 589 + static const char fclk_divisors[] = { 1, 2, 4, 8, 16, 1, 1, 1 }; 590 + static const char hclk_divisors[] = { 1, 2, 4, 5, 6, 8, 16, 32 }; 591 + static const char pclk_divisors[] = { 1, 2, 4, 8 }; 592 592 struct clk_parent_data xtali = { .index = 0 }; 593 593 unsigned int clk_f_div, clk_h_div, clk_p_div; 594 594 unsigned long clk_pll1_rate, clk_pll2_rate;