mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 08:39:52 +00:00
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>
This commit is contained in:
parent
0489ea9e5c
commit
9767b04fe6
@ -1833,6 +1833,7 @@ out_unlock:
|
|||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(clk_set_phase);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clk_get_phase - return the phase shift of a clock signal
|
* clk_get_phase - return the phase shift of a clock signal
|
||||||
@ -1855,6 +1856,7 @@ int clk_get_phase(struct clk *clk)
|
|||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(clk_get_phase);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* __clk_init - initialize the data structures in a struct clk
|
* __clk_init - initialize the data structures in a struct clk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user