]> Git Repo - J-u-boot.git/blobdiff - cmd/clk.c
abootimg: Add init_boot image support
[J-u-boot.git] / cmd / clk.c
index 4b9709d3ff936eaabb6383f191cc56252a083308..6fda6efb1cea1533a62649e63746b992df249cbd 100644 (file)
--- a/cmd/clk.c
+++ b/cmd/clk.c
@@ -2,7 +2,6 @@
 /*
  * Copyright (C) 2013 Xilinx, Inc.
  */
-#include <common.h>
 #include <command.h>
 #include <clk.h>
 #if defined(CONFIG_DM) && defined(CONFIG_CLK)
@@ -59,7 +58,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 +80,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;
This page took 0.029811 seconds and 4 git commands to generate.