summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIgor Prusov <[email protected]>2023-11-09 13:55:16 +0300
committerSean Anderson <[email protected]>2023-12-15 13:05:55 -0500
commit5666558a6cb04b2f731a7a13d0bbaefa528e7616 (patch)
tree7313dc79609a8c0c1349f70d504fd25b6ee77486 /cmd
parentbc3e313ff6af4b5cb09749185d0602a3d4b9b240 (diff)
cmd: clk: Make soc_clk_dump static
After introducing dump to clk_ops there is no need to override or expose this symbol anymore. Reviewed-by: Patrice Chotard <[email protected]> Tested-by: Patrice Chotard <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Signed-off-by: Igor Prusov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'cmd')
-rw-r--r--cmd/clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/clk.c b/cmd/clk.c
index 4b9709d3ff9..7bbcbfeda33 100644
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -59,7 +59,7 @@ static void show_clks(struct udevice *dev, int depth, int last_flag)
}
}
-int __weak soc_clk_dump(void)
+static int soc_clk_dump(void)
{
struct udevice *dev;
const struct clk_ops *ops;
@@ -81,7 +81,7 @@ int __weak soc_clk_dump(void)
return 0;
}
#else
-int __weak soc_clk_dump(void)
+static int soc_clk_dump(void)
{
puts("Not implemented\n");
return 1;