Commit 286259ef authored by Eric Anholt's avatar Eric Anholt Committed by Stephen Boyd

clk: bcm2835: Fix compiler warnings on 64-bit builds

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 3432a2e3
...@@ -400,17 +400,17 @@ struct bcm2835_pll_ana_bits { ...@@ -400,17 +400,17 @@ struct bcm2835_pll_ana_bits {
static const struct bcm2835_pll_ana_bits bcm2835_ana_default = { static const struct bcm2835_pll_ana_bits bcm2835_ana_default = {
.mask0 = 0, .mask0 = 0,
.set0 = 0, .set0 = 0,
.mask1 = ~(A2W_PLL_KI_MASK | A2W_PLL_KP_MASK), .mask1 = (u32)~(A2W_PLL_KI_MASK | A2W_PLL_KP_MASK),
.set1 = (2 << A2W_PLL_KI_SHIFT) | (8 << A2W_PLL_KP_SHIFT), .set1 = (2 << A2W_PLL_KI_SHIFT) | (8 << A2W_PLL_KP_SHIFT),
.mask3 = ~A2W_PLL_KA_MASK, .mask3 = (u32)~A2W_PLL_KA_MASK,
.set3 = (2 << A2W_PLL_KA_SHIFT), .set3 = (2 << A2W_PLL_KA_SHIFT),
.fb_prediv_mask = BIT(14), .fb_prediv_mask = BIT(14),
}; };
static const struct bcm2835_pll_ana_bits bcm2835_ana_pllh = { static const struct bcm2835_pll_ana_bits bcm2835_ana_pllh = {
.mask0 = ~(A2W_PLLH_KA_MASK | A2W_PLLH_KI_LOW_MASK), .mask0 = (u32)~(A2W_PLLH_KA_MASK | A2W_PLLH_KI_LOW_MASK),
.set0 = (2 << A2W_PLLH_KA_SHIFT) | (2 << A2W_PLLH_KI_LOW_SHIFT), .set0 = (2 << A2W_PLLH_KA_SHIFT) | (2 << A2W_PLLH_KI_LOW_SHIFT),
.mask1 = ~(A2W_PLLH_KI_HIGH_MASK | A2W_PLLH_KP_MASK), .mask1 = (u32)~(A2W_PLLH_KI_HIGH_MASK | A2W_PLLH_KP_MASK),
.set1 = (6 << A2W_PLLH_KP_SHIFT), .set1 = (6 << A2W_PLLH_KP_SHIFT),
.mask3 = 0, .mask3 = 0,
.set3 = 0, .set3 = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment