summaryrefslogtreecommitdiff
path: root/include/kunit/clk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kunit/clk.h')
-rw-r--r--include/kunit/clk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/kunit/clk.h b/include/kunit/clk.h
index 73bc99cefe7b..f226044cc78d 100644
--- a/include/kunit/clk.h
+++ b/include/kunit/clk.h
@@ -6,6 +6,7 @@ struct clk;
struct clk_hw;
struct device;
struct device_node;
+struct of_phandle_args;
struct kunit;
struct clk *
@@ -25,4 +26,8 @@ int clk_hw_register_kunit(struct kunit *test, struct device *dev, struct clk_hw
int of_clk_hw_register_kunit(struct kunit *test, struct device_node *node,
struct clk_hw *hw);
+int of_clk_add_hw_provider_kunit(struct kunit *test, struct device_node *np,
+ struct clk_hw *(*get)(struct of_phandle_args *clkspec, void *data),
+ void *data);
+
#endif