firmware/br-ext-chip-ingenic/board/t40/kernel/patches/00000-include_linux_clk-pro...

12 lines
638 B
Diff

diff -drupN a/include/linux/clk-provider.h b/include/linux/clk-provider.h
--- a/include/linux/clk-provider.h 2017-10-21 18:09:07.000000000 +0300
+++ b/include/linux/clk-provider.h 2022-06-09 05:02:35.000000000 +0300
@@ -652,6 +652,7 @@ struct clk_hw *clk_hw_get_parent_by_inde
unsigned int index);
unsigned int __clk_get_enable_count(struct clk *clk);
unsigned long clk_hw_get_rate(const struct clk_hw *hw);
+void __clk_set_flags(struct clk *clk, unsigned long enable);
unsigned long __clk_get_flags(struct clk *clk);
unsigned long clk_hw_get_flags(const struct clk_hw *hw);
bool clk_hw_is_prepared(const struct clk_hw *hw);