diff options
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r-- | arch/sh/include/asm/clock.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index 246f9ebbed23..e9fced9bd8f5 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h | |||
@@ -52,22 +52,6 @@ void clk_recalc_rate(struct clk *); | |||
52 | int clk_register(struct clk *); | 52 | int clk_register(struct clk *); |
53 | void clk_unregister(struct clk *); | 53 | void clk_unregister(struct clk *); |
54 | 54 | ||
55 | static inline int clk_always_enable(const char *id) | ||
56 | { | ||
57 | struct clk *clk; | ||
58 | int ret; | ||
59 | |||
60 | clk = clk_get(NULL, id); | ||
61 | if (IS_ERR(clk)) | ||
62 | return PTR_ERR(clk); | ||
63 | |||
64 | ret = clk_enable(clk); | ||
65 | if (ret) | ||
66 | clk_put(clk); | ||
67 | |||
68 | return ret; | ||
69 | } | ||
70 | |||
71 | /* the exported API, in addition to clk_set_rate */ | 55 | /* the exported API, in addition to clk_set_rate */ |
72 | /** | 56 | /** |
73 | * clk_set_rate_ex - set the clock rate for a clock source, with additional parameter | 57 | * clk_set_rate_ex - set the clock rate for a clock source, with additional parameter |