Skip to content

Commit

Permalink
sh: remove clk_ops
Browse files Browse the repository at this point in the history
Now when all clk_ops have been renamed it is
safe to rename clk_ops to sh_clk_ops.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Magnus Damm authored and Rafael J. Wysocki committed Mar 12, 2012
1 parent c953efd commit 84c36ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/linux/sh_clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,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
Expand All @@ -39,7 +38,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 */
Expand Down

0 comments on commit 84c36ff

Please sign in to comment.