[PATCH 2/3] clk: define empty stub for clk_hw_unregister

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Feb 15 04:18:36 PST 2024


We don't do clk unregistration and thus define clk_unregister as empty
stub. Let's do likewise for clk_hw_unregister.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/linux/clk.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/clk.h b/include/linux/clk.h
index d76f175bbd49..25bba3e99971 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -875,6 +875,10 @@ static inline void clk_unregister(struct clk *clk)
 {
 }
 
+static inline void clk_hw_unregister(struct clk_hw *hw)
+{
+}
+
 #ifdef CONFIG_COMMON_CLK
 
 /**
-- 
2.39.2




More information about the barebox mailing list