armv8/fsl_lsch2: Add chip power supply voltage setup
[oweals/u-boot.git] / arch / arm / mach-zynq / clk.c
index d2885dc2b9e3e9d6444684ed103b1e1962b2b929..40383c11c914ff34c8add416bbe1772440cb2235 100644 (file)
@@ -6,7 +6,6 @@
  */
 #include <common.h>
 #include <errno.h>
-#include <clk.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/clk.h>
@@ -48,11 +47,11 @@ DECLARE_GLOBAL_DATA_PTR;
 struct clk;
 
 /**
- * struct clk_ops:
+ * struct zynq_clk_ops:
  * @set_rate:  Function pointer to set_rate() implementation
  * @get_rate:  Function pointer to get_rate() implementation
  */
-struct clk_ops {
+struct zynq_clk_ops {
        int (*set_rate)(struct clk *clk, unsigned long rate);
        unsigned long (*get_rate)(struct clk *clk);
 };
@@ -72,7 +71,7 @@ struct clk {
        enum zynq_clk   parent;
        unsigned int    flags;
        u32             *reg;
-       struct clk_ops  ops;
+       struct zynq_clk_ops     ops;
 };
 #define ZYNQ_CLK_FLAGS_HAS_2_DIVS      1