Skip to content

Commit

Permalink
clk: Export phase functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maxime Ripard authored and Michael Turquette committed Jan 27, 2015
1 parent 0489ea9 commit 9767b04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/clk/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@ int clk_set_phase(struct clk *clk, int degrees)
out:
return ret;
}
EXPORT_SYMBOL_GPL(clk_set_phase);

/**
* clk_get_phase - return the phase shift of a clock signal
Expand All @@ -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
Expand Down

0 comments on commit 9767b04

Please sign in to comment.