]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: renesas: r8a774c0: Fix LAST_DT_CORE_CLK
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Wed, 20 Feb 2019 16:09:20 +0000 (16:09 +0000)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 21:09:52 +0000 (13:09 -0800)
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@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Fixes: 2a6efbc6da5d248c ("clk: renesas: r8a774c0: Add missing CANFD clock")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/renesas/r8a774c0-cpg-mssr.c

index aeadb4d66f3e2fefe7a30e8da9fe08340ea63e0a..34e274f2a273a314cf76f764db7bfbaf0b554b7d 100644 (file)
@@ -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,