clk: qcom: gcc-sm6375: Ensure unsigned long type
authorStephen Boyd <sboyd@kernel.org>
Tue, 4 Oct 2022 17:17:23 +0000 (10:17 -0700)
committerStephen Boyd <sboyd@kernel.org>
Tue, 4 Oct 2022 17:24:26 +0000 (10:24 -0700)
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>
drivers/clk/qcom/gcc-sm6375.c

index a3188c462a8b615c62877f55244e0376e4ff15be..89a1cc90b1453bab990b6dc87a64950537d01241 100644 (file)
@@ -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 = {