diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 609e9db1a69afc16381d91584420833be0f8dda1..73247e90ee59d5f0351bfe4389a870807cfd6787 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -596,7 +596,7 @@ unsigned long __clk_get_rate(struct clk *clk) } EXPORT_SYMBOL_GPL(__clk_get_rate); -unsigned long __clk_get_accuracy(struct clk *clk) +static unsigned long __clk_get_accuracy(struct clk *clk) { if (!clk) return 0; diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index fcf3252b829f21c517492758c993e5a9d1a032ba..270137aaf3abe32d71a1bfc4b71d75aa16f6674c 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -545,7 +545,6 @@ struct clk *__clk_get_parent(struct clk *clk); struct clk *clk_get_parent_by_index(struct clk *clk, u8 index); unsigned int __clk_get_enable_count(struct clk *clk); unsigned long __clk_get_rate(struct clk *clk); -unsigned long __clk_get_accuracy(struct clk *clk); unsigned long __clk_get_flags(struct clk *clk); bool __clk_is_prepared(struct clk *clk); bool __clk_is_enabled(struct clk *clk);