aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrizio Castro <[email protected]>2019-02-22 11:59:39 +0000
committerStephen Boyd <[email protected]>2019-02-25 09:13:19 -0800
commitdf446f7e6ec0ed474dab2e6f19e4618116907f29 (patch)
tree08a3a0498e13799a0a59dfa472bd6fa41caaf0c4
parente61b30bb34b6206f76e623269a41b65cd3989fff (diff)
clk: renesas: r8a774a1: Fix LAST_DT_CORE_CLK
Enum LAST_DT_CORE_CLK needs updating as R8A774A1_CLK_CANFD was recently added and it's the core clock with the highest index. Signed-off-by: Fabrizio Castro <[email protected]> Reviewed-by: Chris Paterson <[email protected]> Fixes: 9d034e151b40 ("clk: renesas: r8a774a1: Add missing CANFD clock") Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/renesas/r8a774a1-cpg-mssr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/r8a774a1-cpg-mssr.c b/drivers/clk/renesas/r8a774a1-cpg-mssr.c
index e10374119a91..4d92b27a6153 100644
--- a/drivers/clk/renesas/r8a774a1-cpg-mssr.c
+++ b/drivers/clk/renesas/r8a774a1-cpg-mssr.c
@@ -21,7 +21,7 @@
enum clk_ids {
/* Core Clock Outputs exported to DT */
- LAST_DT_CORE_CLK = R8A774A1_CLK_OSC,
+ LAST_DT_CORE_CLK = R8A774A1_CLK_CANFD,
/* External Input Clocks */
CLK_EXTAL,