From: Maxime Ripard Date: Tue, 20 Jan 2015 21:23:43 +0000 (+0100) Subject: clk: Export phase functions X-Git-Tag: v4.0-rc1~16^2~13^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9767b04fe663f84040aae1fb76d67246b856d107;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Maxime Ripard Reviewed-by: Stephen Boyd Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 9fc209a..aa8a9d2 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