Skip to content

Commit 39bc9b5

Browse files
committed
clk: qcom: gcc-sm6375: Ensure unsigned long type
This PLL frequency needs a UL postfix to avoid compiler warnings on 32-bit architectures. Fixes: 184fdd8 ("clk: qcom: Add global clock controller driver for SM6375") Cc: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a76d550 commit 39bc9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gcc-sm6375.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static struct pll_vco lucid_vco[] = {
5454
};
5555

5656
static struct pll_vco zonda_vco[] = {
57-
{ 595200000, 3600000000, 0 },
57+
{ 595200000, 3600000000UL, 0 },
5858
};
5959

6060
static struct clk_alpha_pll gpll0 = {

0 commit comments

Comments
 (0)