diff options
Diffstat (limited to 'drivers/clk/clk-fixed-rate.c')
-rw-r--r-- | drivers/clk/clk-fixed-rate.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index 8e4453eb54e8..2edb39342a02 100644 --- a/drivers/clk/clk-fixed-rate.c +++ b/drivers/clk/clk-fixed-rate.c | |||
@@ -145,6 +145,17 @@ void clk_unregister_fixed_rate(struct clk *clk) | |||
145 | } | 145 | } |
146 | EXPORT_SYMBOL_GPL(clk_unregister_fixed_rate); | 146 | EXPORT_SYMBOL_GPL(clk_unregister_fixed_rate); |
147 | 147 | ||
148 | void clk_hw_unregister_fixed_rate(struct clk_hw *hw) | ||
149 | { | ||
150 | struct clk_fixed_rate *fixed; | ||
151 | |||
152 | fixed = to_clk_fixed_rate(hw); | ||
153 | |||
154 | clk_hw_unregister(hw); | ||
155 | kfree(fixed); | ||
156 | } | ||
157 | EXPORT_SYMBOL_GPL(clk_hw_unregister_fixed_rate); | ||
158 | |||
148 | #ifdef CONFIG_OF | 159 | #ifdef CONFIG_OF |
149 | /** | 160 | /** |
150 | * of_fixed_clk_setup() - Setup function for simple fixed rate clock | 161 | * of_fixed_clk_setup() - Setup function for simple fixed rate clock |