aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-20 22:23:43 +0100
committerMichael Turquette <mturquette@linaro.org>2015-01-27 11:52:43 -0800
commit9767b04fe663f84040aae1fb76d67246b856d107 (patch)
treeae07e5e0753d8c8ef6d6fda9a90d006ea3f16866 /drivers/clk
parentdevicetree: bindings: Document qcom,lcc (diff)
downloadlinux-dev-9767b04fe663f84040aae1fb76d67246b856d107.tar.xz
linux-dev-9767b04fe663f84040aae1fb76d67246b856d107.zip
clk: Export phase functions
The phase setter and getter were not exported until now, which was causing build breakages when callers were compiled as module. Export these two functions. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.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, 2 insertions, 0 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 9fc209abcb48..aa8a9d2d0b73 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -1833,6 +1833,7 @@ out_unlock:
out:
return ret;
}
+EXPORT_SYMBOL_GPL(clk_set_phase);
/**
* clk_get_phase - return the phase shift of a clock signal
@@ -1855,6 +1856,7 @@ int clk_get_phase(struct clk *clk)
out:
return ret;
}
+EXPORT_SYMBOL_GPL(clk_get_phase);
/**
* __clk_init - initialize the data structures in a struct clk