From 63311b158c696b0d57f204d89ac8cb36a2147987 Mon Sep 17 00:00:00 2001 From: Stephen Boyd Date: Tue, 4 Oct 2022 10:17:23 -0700 Subject: [PATCH] clk: qcom: gcc-sm6375: Ensure unsigned long type This PLL frequency needs a UL postfix to avoid compiler warnings on 32-bit architectures. Fixes: b0334261eef0 ("clk: qcom: Add global clock controller driver for SM6375") Cc: Konrad Dybcio Signed-off-by: Stephen Boyd --- drivers/clk/qcom/gcc-sm6375.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-sm6375.c b/drivers/clk/qcom/gcc-sm6375.c index a3188c462a8b6..89a1cc90b1453 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 = { -- 2.39.5