diff options
Diffstat (limited to 'drivers/clk/clk.c')
-rw-r--r-- | drivers/clk/clk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7783c25fb407..1b291a6e169b 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c | |||
@@ -2489,6 +2489,12 @@ runtime_put: | |||
2489 | return ret; | 2489 | return ret; |
2490 | } | 2490 | } |
2491 | 2491 | ||
2492 | int clk_hw_set_parent(struct clk_hw *hw, struct clk_hw *parent) | ||
2493 | { | ||
2494 | return clk_core_set_parent_nolock(hw->core, parent->core); | ||
2495 | } | ||
2496 | EXPORT_SYMBOL_GPL(clk_hw_set_parent); | ||
2497 | |||
2492 | /** | 2498 | /** |
2493 | * clk_set_parent - switch the parent of a mux clk | 2499 | * clk_set_parent - switch the parent of a mux clk |
2494 | * @clk: the mux clk whose input we are switching | 2500 | * @clk: the mux clk whose input we are switching |