From: Tomeu Vizoso Date: Tue, 2 Dec 2014 07:54:20 +0000 (+0100) Subject: clk: Don't expose __clk_get_accuracy X-Git-Tag: omap-for-v3.20/drop-legacy-3517~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=920f1c7472f35cd3b3a3add10cccb0ef12376a17;p=pandora-kernel.git clk: Don't expose __clk_get_accuracy As it's only used internally, in drivers/clk/clk.c. Signed-off-by: Tomeu Vizoso Reviewed-by: Stephen Boyd Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 609e9db1a69a..73247e90ee59 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -596,7 +596,7 @@ out: } 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 fcf3252b829f..270137aaf3ab 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);