Hi Abel,
On Thu, 29 Nov 2018 23:50:22 + Abel Vesa wrote:
>
> --- a/drivers/clk/imx/clk-frac-pll.c
> +++ b/drivers/clk/imx/clk-frac-pll.c
> @@ -116,12 +116,13 @@ static long clk_pll_round_rate(struct clk_hw *hw,
> unsigned long rate,
> unsigned long *prate)
> {
>
On arm32, a division with a 64-bit divisor has to be done through
do_div() function otherwise there is a link failure like:
drivers/clk/imx/clk-frac-pll.o: In function `clk_pll_round_rate':
clk-frac-pll.c:(.text+0x54): undefined reference to `__aeabi_uldivmod'
make: *** [Makefile:1040: vmlinux] Er
2 matches
Mail list logo