diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-20 16:23:43 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-27 14:52:43 -0500 |
commit | 9767b04fe663f84040aae1fb76d67246b856d107 (patch) | |
tree | ae07e5e0753d8c8ef6d6fda9a90d006ea3f16866 | |
parent | 0489ea9e5c894faa7e5ec690261ee86fa51ea6b8 (diff) |
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>
-rw-r--r-- | drivers/clk/clk.c | 2 |
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: | |||
1833 | out: | 1833 | out: |
1834 | return ret; | 1834 | return ret; |
1835 | } | 1835 | } |
1836 | EXPORT_SYMBOL_GPL(clk_set_phase); | ||
1836 | 1837 | ||
1837 | /** | 1838 | /** |
1838 | * clk_get_phase - return the phase shift of a clock signal | 1839 | * clk_get_phase - return the phase shift of a clock signal |
@@ -1855,6 +1856,7 @@ int clk_get_phase(struct clk *clk) | |||
1855 | out: | 1856 | out: |
1856 | return ret; | 1857 | return ret; |
1857 | } | 1858 | } |
1859 | EXPORT_SYMBOL_GPL(clk_get_phase); | ||
1858 | 1860 | ||
1859 | /** | 1861 | /** |
1860 | * __clk_init - initialize the data structures in a struct clk | 1862 | * __clk_init - initialize the data structures in a struct clk |