diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-02-15 13:18:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-02-16 13:11:23 +0100 |
commit | 606f0f834610ad9c8c8d6c96d1109d2ff25c1366 (patch) | |
tree | dc3967c4254cf8ae58e58e5e34033dbf3cff51ff | |
parent | 2098731f7cf44cb04de503d355b3b52568554fab (diff) | |
download | barebox-606f0f834610.tar.gz barebox-606f0f834610.tar.xz |
clk: define empty stub for clk_hw_unregister
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@pengutronix.de>
Link: https://lore.barebox.org/20240215121837.251013-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/linux/clk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index d76f175bbd..25bba3e999 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 /** |