diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2023-09-12 06:51:34 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-09-18 10:05:08 +0200 |
commit | 897a3e34d6e73d2386715d5c44c57992f2c0eada (patch) | |
tree | f5fb5d3f6d55516c334b34128459501e6ab721f5 /drivers/clk/renesas/rzg2l-cpg.h | |
parent | clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields (diff) | |
download | linux-897a3e34d6e73d2386715d5c44c57992f2c0eada.tar.xz linux-897a3e34d6e73d2386715d5c44c57992f2c0eada.zip |
clk: renesas: rzg2l: Use u32 for flag and mux_flags
flag and mux_flags are intended to keep bit masks. Use u32 type for it.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230912045157.177966-15-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to '')
-rw-r--r-- | drivers/clk/renesas/rzg2l-cpg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/renesas/rzg2l-cpg.h b/drivers/clk/renesas/rzg2l-cpg.h index 6cee9e56acc7..0b28870a6f9d 100644 --- a/drivers/clk/renesas/rzg2l-cpg.h +++ b/drivers/clk/renesas/rzg2l-cpg.h @@ -92,8 +92,8 @@ struct cpg_core_clk { unsigned int conf; const struct clk_div_table *dtable; const char * const *parent_names; - int flag; - int mux_flags; + u32 flag; + u32 mux_flags; int num_parents; }; |