clk: Export phase functions
authorMaxime Ripard <[email protected]>
Tue, 20 Jan 2015 21:23:43 +0000 (22:23 +0100)
committerMichael Turquette <[email protected]>
Tue, 27 Jan 2015 19:52:43 +0000 (11:52 -0800)
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 <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
drivers/clk/clk.c

index 9fc209abcb4889efc7377aa4006f45e799237419..aa8a9d2d0b73efb62ec1a4ecad23de93a8e42a0d 100644 (file)
@@ -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