clk: rockchip: rk618: fix compile error

Change-Id: I1a185202a062eac73ca5f387487ab3e34dafe664
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi
2019-10-11 14:56:46 +08:00
committed by Tao Huang
parent 8ad7ce2644
commit 09d4b9bcaa
2 changed files with 3 additions and 1 deletions

View File

@@ -26,3 +26,5 @@ obj-$(CONFIG_CPU_RK3308) += clk-rk3308.o
obj-$(CONFIG_CPU_RK3328) += clk-rk3328.o
obj-$(CONFIG_CPU_RK3368) += clk-rk3368.o
obj-$(CONFIG_CPU_RK3399) += clk-rk3399.o
obj-$(CONFIG_MFD_RK618) += rk618/

View File

@@ -34,7 +34,7 @@ clk_regmap_divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
div &= div_mask(divider->width);
return divider_recalc_rate(hw, parent_rate, div, NULL,
CLK_DIVIDER_ROUND_CLOSEST);
CLK_DIVIDER_ROUND_CLOSEST, divider->width);
}
static long