clk: renesas: rcar-gen3: Make cpg_z_clk.mask u32
cpg_z_clk.mask contains a mask for a 32-bit register. Hence its size can be reduced from unsigned long to u32. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Stephen Boyd <sboyd@kernel.org> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://lore.kernel.org/r/20210326120100.1577596-3-geert+renesas@glider.be
This commit is contained in:
parent
192c344e7c
commit
58effcd350
|
@ -50,8 +50,8 @@ struct cpg_z_clk {
|
||||||
struct clk_hw hw;
|
struct clk_hw hw;
|
||||||
void __iomem *reg;
|
void __iomem *reg;
|
||||||
void __iomem *kick_reg;
|
void __iomem *kick_reg;
|
||||||
unsigned long mask;
|
|
||||||
unsigned int fixed_div;
|
unsigned int fixed_div;
|
||||||
|
u32 mask;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define to_z_clk(_hw) container_of(_hw, struct cpg_z_clk, hw)
|
#define to_z_clk(_hw) container_of(_hw, struct cpg_z_clk, hw)
|
||||||
|
|
Loading…
Reference in New Issue