> From: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx> > Sent: 20 February 2019 16:09 > To: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> > Cc: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx>; Michael Turquette > <mturquette@xxxxxxxxxxxx>; Stephen Boyd <sboyd@xxxxxxxxxx>; linux- > renesas-soc@xxxxxxxxxxxxxxx; linux-clk@xxxxxxxxxxxxxxx; Simon Horman > <horms@xxxxxxxxxxxx>; Chris Paterson <Chris.Paterson2@xxxxxxxxxxx>; > Biju Das <biju.das@xxxxxxxxxxxxxx> > Subject: [PATCH] clk: renesas: r8a774c0: Fix LAST_DT_CORE_CLK > > Enum LAST_DT_CORE_CLK needs updating as R8A774C0_CLK_CANFD > was recently added and it's the core clock with the highest > index. > > Signed-off-by: Fabrizio Castro <fabrizio.castro@xxxxxxxxxxxxxx> Reviewed-by: Chris Paterson <chris.paterson2@xxxxxxxxxxx> > --- > drivers/clk/renesas/r8a774c0-cpg-mssr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/renesas/r8a774c0-cpg-mssr.c > b/drivers/clk/renesas/r8a774c0-cpg-mssr.c > index 4f3111b..48a578a 100644 > --- a/drivers/clk/renesas/r8a774c0-cpg-mssr.c > +++ b/drivers/clk/renesas/r8a774c0-cpg-mssr.c > @@ -22,7 +22,7 @@ > > enum clk_ids { > /* Core Clock Outputs exported to DT */ > - LAST_DT_CORE_CLK = R8A774C0_CLK_CPEX, > + LAST_DT_CORE_CLK = R8A774C0_CLK_CANFD, > > /* External Input Clocks */ > CLK_EXTAL, > -- > 2.7.4