summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-04-19 08:58:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-19 08:58:58 +0200
commit139baf00c82eb8377a966ead54e1e1b168b5fb2c (patch)
tree24bdc008b2a3a3f98a35a617ab0705be3140e5fa /include
parentdee788e9b341044da782e77fe627ffdaeaf10756 (diff)
parent758a02ec198448ff16109d8ecdc9fbf33ea4a016 (diff)
downloadbarebox-139baf00c82eb8377a966ead54e1e1b168b5fb2c.tar.gz
Merge branch 'for-next/clk-of-overlay'
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index bffed2bdcf..29c697a00b 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -686,7 +686,7 @@ struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec);
unsigned int of_clk_get_parent_count(struct device_node *np);
int of_clk_parent_fill(struct device_node *np, const char **parents,
unsigned int size);
-int of_clk_init(struct device_node *root, const struct of_device_id *matches);
+int of_clk_init(void);
int of_clk_add_provider(struct device_node *np,
struct clk *(*clk_src_get)(struct of_phandle_args *args,
void *data),
@@ -742,8 +742,7 @@ static inline unsigned int of_clk_get_parent_count(struct device_node *np)
{
return 0;
}
-static inline int of_clk_init(struct device_node *root,
- const struct of_device_id *matches)
+static inline int of_clk_init(void)
{
return 0;
}