diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2014-12-02 08:54:20 +0100 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2014-12-03 15:15:34 -0800 |
commit | 920f1c7472f35cd3b3a3add10cccb0ef12376a17 (patch) | |
tree | 1734bad1194ae1fa1ce38042bb2f70b52dc1bb21 | |
parent | 10cdfe54dab034311c8e2fad9ba2dffbe616caa9 (diff) | |
download | op-kernel-dev-920f1c7472f35cd3b3a3add10cccb0ef12376a17.zip op-kernel-dev-920f1c7472f35cd3b3a3add10cccb0ef12376a17.tar.gz |
clk: Don't expose __clk_get_accuracy
As it's only used internally, in drivers/clk/clk.c.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
-rw-r--r-- | drivers/clk/clk.c | 2 | ||||
-rw-r--r-- | include/linux/clk-provider.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 609e9db..73247e9 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 fcf3252..270137a 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); |