summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2014-12-02 08:54:20 +0100
committerMichael Turquette <mturquette@linaro.org>2014-12-04 00:15:34 +0100
commit920f1c7472f35cd3b3a3add10cccb0ef12376a17 (patch)
tree1734bad1194ae1fa1ce38042bb2f70b52dc1bb21 /drivers/clk
parentclk: Don't try to use a struct clk* after it could have been freed (diff)
downloadlinux-920f1c7472f35cd3b3a3add10cccb0ef12376a17.tar.xz
linux-920f1c7472f35cd3b3a3add10cccb0ef12376a17.zip
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk.c2
1 files changed, 1 insertions, 1 deletions
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;