Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d42c0472 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Stephen Boyd
Browse files

clk: return unsigned int in dummy non-OF of_clk_get_parent_count()



In the commit 929e7f3b ("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: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 5e23c593
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -854,7 +854,7 @@ of_clk_hw_onecell_get(struct of_phandle_args *clkspec, void *data)
{
{
	return ERR_PTR(-ENOENT);
	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;
	return 0;
}
}