[RFC PATCH v2 7/7] cmd: clk: Remove __weak from soc_clk_dump
Igor Prusov
ivprusov at sberdevices.ru
Wed May 3 22:37:20 CEST 2023
After introducing dump to clk_ops there is no need to override this
symbol anymore.
Signed-off-by: Igor Prusov <ivprusov at sberdevices.ru>
---
cmd/clk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/clk.c b/cmd/clk.c
index 55fb96e631..54491ac577 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)
+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)
+int soc_clk_dump(void)
{
puts("Not implemented\n");
return 1;
--
2.34.1
More information about the U-Boot
mailing list