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@xxxxxxxxxxxxxx> --- 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