clk: lmk04832: make read-only const arrays static

Don't populate the read-only const arrays pll2_p and dclk_div_adj
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/20240912134707.590224-1-colin.i.king@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

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

+2 -2
+2 -2
drivers/clk/clk-lmk04832.c
··· 375 375 unsigned long prate) 376 376 { 377 377 struct lmk04832 *lmk = container_of(hw, struct lmk04832, vco); 378 - const unsigned int pll2_p[] = {8, 2, 2, 3, 4, 5, 6, 7}; 378 + static const unsigned int pll2_p[] = {8, 2, 2, 3, 4, 5, 6, 7}; 379 379 unsigned int pll2_n, p, pll2_r; 380 380 unsigned int pll2_misc; 381 381 unsigned long vco_rate; ··· 637 637 638 638 static int lmk04832_clkout_set_ddly(struct lmk04832 *lmk, int id) 639 639 { 640 - const int dclk_div_adj[] = {0, 0, -2, -2, 0, 3, -1, 0}; 640 + static const int dclk_div_adj[] = {0, 0, -2, -2, 0, 3, -1, 0}; 641 641 unsigned int sclkx_y_ddly = 10; 642 642 unsigned int dclkx_y_ddly; 643 643 unsigned int dclkx_y_div;