Skip to contentSkip to conversation

sh: remove clk_ops

PATCH In review Magnus Damm 1 participant 1 message Feb 29, 2012 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 17/17 sh: remove clk_ops

From: Magnus Damm <[email protected]>

Now when all clk_ops have been renamed it is
safe to rename clk_ops to sh_clk_ops.

---

 include/linux/sh_clk.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
include/linux/sh_clk.h +2 -3
@@ -31,9 +31,8 @@ struct clk_mapping {
 	struct kref		ref;
 };
 
-#define sh_clk_ops clk_ops
 
-struct clk_ops {
+struct sh_clk_ops {
 #ifdef CONFIG_SH_CLK_CPG_LEGACY
 	void (*init)(struct clk *clk);
 #endif
@@ -52,7 +51,7 @@ struct clk {
 	unsigned short		parent_num;	/* choose between */
 	unsigned char		src_shift;	/* source clock field in the */
 	unsigned char		src_width;	/* configuration register */
-	struct clk_ops		*ops;
+	struct sh_clk_ops	*ops;
 
 	struct list_head	children;
 	struct list_head	sibling;	/* node for children */