diff options
author | Marek Vasut <marex@denx.de> | 2022-10-23 19:46:07 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-10-28 03:01:16 +0300 |
commit | e79d0a43e9f8897dcc68b1c7fc408196ce7cb676 (patch) | |
tree | 0fd13beebfeee72123d076e29ee4ab7e481de19d /drivers/clk | |
parent | e104c74427a67158b59d5a7da9b00362e7f5fe53 (diff) | |
download | linux-e79d0a43e9f8897dcc68b1c7fc408196ce7cb676.tar.xz |
clk: stm32mp1: Staticize ethrx_src
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-stm32mp1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index 7ad2e6203bae..01e5a466897f 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/drivers/clk/clk-stm32mp1.c @@ -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" }, }; |