aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2016-08-26 14:58:07 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-08-26 12:27:28 -0700
commitd42c047245ae09ebc2f506c5d1730ce3113278ac (patch)
tree65d9c1d516edb701fa849883d71042fd67ab8652 /include/linux/clk-provider.h
parentclk: versatile/icst: add Integrator core module clocks (diff)
downloadlinux-dev-d42c047245ae09ebc2f506c5d1730ce3113278ac.tar.xz
linux-dev-d42c047245ae09ebc2f506c5d1730ce3113278ac.zip
clk: return unsigned int in dummy non-OF of_clk_get_parent_count()
In the commit 929e7f3bc7b82 ("clk: Make of_clk_get_parent_count() return unsigned ints") of_clk_get_parent_count has been modified to return unsigned int. There is also a dummy implementation of the same function for configs without CONFIG_OF. For the consistency it should be updated as well. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index f403b8a5f8ca..37b8fdce0e49 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -854,7 +854,7 @@ of_clk_hw_onecell_get(struct of_phandle_args *clkspec, void *data)
{
return ERR_PTR(-ENOENT);
}
-static inline int of_clk_get_parent_count(struct device_node *np)
+static inline unsigned int of_clk_get_parent_count(struct device_node *np)
{
return 0;
}