clk: stm32mp1: Staticize ethrx_src
authorMarek Vasut <marex@denx.de>
Sun, 23 Oct 2022 16:46:07 +0000 (18:46 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 28 Oct 2022 00:01:16 +0000 (17:01 -0700)
Make ethrx_src array static, this is local to clk-stm32mp1.c

Fixes: e9ed1ef18a37a ("clk: stm32mp1: Add parent_data to ETHRX clock")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20221023164607.556118-1-marex@denx.de
Acked-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-stm32mp1.c

index 7ad2e62..01e5a46 100644 (file)
@@ -155,7 +155,7 @@ static const char * const eth_src[] = {
        "pll4_p", "pll3_q"
 };
 
-const struct clk_parent_data ethrx_src[] = {
+static const struct clk_parent_data ethrx_src[] = {
        { .name = "ethck_k", .fw_name = "ETH_RX_CLK/ETH_REF_CLK" },
 };