Skip to content

Commit c3400fd

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: rzv2h: Sort compatible list based on SoC part number
Reorder the compatible entries in `rzv2h_cpg_match[]` to follow a numerical sequence based on the SoC part numbers. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20250407191628.323613-8-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent b224c42 commit c3400fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/clk/renesas/rzv2h-cpg.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,17 +1014,17 @@ static int __init rzv2h_cpg_probe(struct platform_device *pdev)
10141014
}
10151015

10161016
static const struct of_device_id rzv2h_cpg_match[] = {
1017-
#ifdef CONFIG_CLK_R9A09G057
1018-
{
1019-
.compatible = "renesas,r9a09g057-cpg",
1020-
.data = &r9a09g057_cpg_info,
1021-
},
1022-
#endif
10231017
#ifdef CONFIG_CLK_R9A09G047
10241018
{
10251019
.compatible = "renesas,r9a09g047-cpg",
10261020
.data = &r9a09g047_cpg_info,
10271021
},
1022+
#endif
1023+
#ifdef CONFIG_CLK_R9A09G057
1024+
{
1025+
.compatible = "renesas,r9a09g057-cpg",
1026+
.data = &r9a09g057_cpg_info,
1027+
},
10281028
#endif
10291029
{ /* sentinel */ }
10301030
};

0 commit comments

Comments
 (0)