FROMLIST: clk: clk-fractional-divider: Export clk_fractional_divider_general_approximation API

This is used by the Rockchip clk driver, export it to allow that
driver to be compiled as a module.

Bug: 300024866
Change-Id: Ie457e795b105312aeb220b6070972d50a07797d9
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Link: https://lore.kernel.org/lkml/20230801081456.2551-1-zhangqing@rock-chips.com/
This commit is contained in:
Elaine Zhang 2023-08-01 16:14:56 +08:00 committed by Todd Kjos
parent c3d6c235b2
commit 404360f6d3

View File

@ -126,6 +126,7 @@ void clk_fractional_divider_general_approximation(struct clk_hw *hw,
GENMASK(fd->mwidth - 1, 0), GENMASK(fd->nwidth - 1, 0),
m, n);
}
EXPORT_SYMBOL_GPL(clk_fractional_divider_general_approximation);
static long clk_fd_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *parent_rate)