* [PATCH 17/17] sh: remove clk_ops
@ 2012-02-29 13:18 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2012-02-29 13:18 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
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>
---
include/linux/sh_clk.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- 0015/include/linux/sh_clk.h
+++ work/include/linux/sh_clk.h 2012-02-28 21:46:18.000000000 +0900
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-29 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 13:18 [PATCH 17/17] sh: remove clk_ops Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).