Skip to contentSkip to conversation

clk: stm32mp1: Staticize ethrx_src

PATCH Applied Marek Vasut 2 participants 2 messages Oct 23, 2022 – Oct 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")

---
Cc: Alexandre Torgue <[email protected]>
Cc: Christophe Roullier <[email protected]>
Cc: Gabriel Fernandez <[email protected]>
Cc: Johann Neuhauser <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 drivers/clk/clk-stm32mp1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk-stm32mp1.c +1 -1
index 7ad2e6203baef..01e5a466897f8 100644
@@ -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" },
 };
 
Signature · 1 line
2.35.1