diff options
author | Chen-Yu Tsai <wens@csie.org> | 2019-05-03 18:10:39 +0800 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2019-06-22 10:13:16 +0800 |
commit | 8916d3fc3a476c6df25edf3d5186c9bb22c59e76 (patch) | |
tree | a23d966a0dad79628ff35bdc78fa8a7b618cd223 /drivers/rtc/rtc-stmp3xxx.c | |
parent | ecd73c04b3e81aa8c14828c0a55f1e9a62e173d6 (diff) | |
download | linux-8916d3fc3a476c6df25edf3d5186c9bb22c59e76.tar.gz linux-8916d3fc3a476c6df25edf3d5186c9bb22c59e76.tar.bz2 linux-8916d3fc3a476c6df25edf3d5186c9bb22c59e76.zip |
clk: sunxi-ng: h6: Use local parent references for CLK_FIXED_FACTOR
With the new clk parenting code and CLK_FIXED_FACTOR_{HW,FW_NAME}
macros, we can reference parents locally via pointers to struct clk_hw
or DT clock-names.
Convert existing CLK_FIXED_FACTOR definitions to either the _HW or
_FW_NAME variant based on whether the parent clock is internal or
external to the CCU.
A forward declaration for struct clk_fixed_factor pll_periph0_4x_clk
is added as the definitions of the fixed factor clocks appear much later
in the file. The position of fixed factor clock definitions will be
moved for all drivers at a later time, before the conversion of all
other clock types.
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/rtc/rtc-stmp3xxx.c')
0 files changed, 0 insertions, 0 deletions