diff options
author | Stephen Boyd | 2022-10-04 10:17:23 -0700 |
---|---|---|
committer | Stephen Boyd | 2022-10-04 10:24:26 -0700 |
commit | 39bc9b589ea3d2750a6fec6409cd7fc687bc99fe (patch) | |
tree | fb8a745780f9c93392318c5c998a72199da314ab /drivers/clk | |
parent | a76d550f761d4f1b0a0e2faa27af122e51904b86 (diff) |
clk: qcom: gcc-sm6375: Ensure unsigned long type
This PLL frequency needs a UL postfix to avoid compiler warnings on
32-bit architectures.
Fixes: 184fdd873d83 ("clk: qcom: Add global clock controller driver for SM6375")
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/qcom/gcc-sm6375.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gcc-sm6375.c b/drivers/clk/qcom/gcc-sm6375.c index a3188c462a8b..89a1cc90b145 100644 --- a/drivers/clk/qcom/gcc-sm6375.c +++ b/drivers/clk/qcom/gcc-sm6375.c @@ -54,7 +54,7 @@ static struct pll_vco lucid_vco[] = { }; static struct pll_vco zonda_vco[] = { - { 595200000, 3600000000, 0 }, + { 595200000, 3600000000UL, 0 }, }; static struct clk_alpha_pll gpll0 = { |