summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIgor Prusov <ivprusov@sberdevices.ru>2023-11-09 13:55:16 +0300
committerSean Anderson <seanga2@gmail.com>2023-12-15 13:05:55 -0500
commit5666558a6cb04b2f731a7a13d0bbaefa528e7616 (patch)
tree7313dc79609a8c0c1349f70d504fd25b6ee77486 /cmd
parentbc3e313ff6af4b5cb09749185d0602a3d4b9b240 (diff)
downloadu-boot-5666558a6cb04b2f731a7a13d0bbaefa528e7616.tar.gz
u-boot-5666558a6cb04b2f731a7a13d0bbaefa528e7616.tar.bz2
u-boot-5666558a6cb04b2f731a7a13d0bbaefa528e7616.zip
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 <patrice.chotard@foss.st.com> Tested-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Signed-off-by: Igor Prusov <ivprusov@sberdevices.ru> Link: https://lore.kernel.org/r/20231109105516.24892-9-ivprusov@sberdevices.ru
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 4b9709d3ff..7bbcbfeda3 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;