summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:39:14 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:29 -0600
commit30db918768396caaae43f644f7ca9e41f461ab75 (patch)
treee09830352a44815e0b2984440afbb851a5da3507 /arch
parentf9917454d55caf3dafa41b27d8d8274716433a4c (diff)
downloadu-boot-imx-30db918768396caaae43f644f7ca9e41f461ab75.zip
u-boot-imx-30db918768396caaae43f644f7ca9e41f461ab75.tar.gz
u-boot-imx-30db918768396caaae43f644f7ca9e41f461ab75.tar.bz2
zynq: Rename struct clk_ops to zynq_clk_ops
Since we want clk_ops to be used in U-Boot as a whole, rename the Zynq version until it can be converted to driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-zynq/clk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-zynq/clk.c b/arch/arm/mach-zynq/clk.c
index d2885dc..6444be8 100644
--- a/arch/arm/mach-zynq/clk.c
+++ b/arch/arm/mach-zynq/clk.c
@@ -48,11 +48,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 +72,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