* [PATCH] clk: fix of_clk_hw_simple_get stub definition
@ 2024-01-18 8:45 Ahmad Fatoum
2024-01-19 6:43 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-01-18 8:45 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
When !CONFIG_COMMON_CLK_OF_PROVIDER, we end up with a stub definition
that defers from the out-of-line version. Fix that.
Fixes: 054ccac22bd1 ("clk: implement of_clk_hw_{onecell,simple}_get")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
include/linux/clk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 333dc1b8b6c6..b555e40ec459 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -818,7 +818,7 @@ of_clk_src_simple_get(struct of_phandle_args *clkspec, void *data)
{
return ERR_PTR(-ENOENT);
}
-static inline struct clk *
+static inline struct clk_hw *
of_clk_hw_simple_get(struct of_phandle_args *clkspec, void *data)
{
return ERR_PTR(-ENOENT);
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-19 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-18 8:45 [PATCH] clk: fix of_clk_hw_simple_get stub definition Ahmad Fatoum
2024-01-19 6:43 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox