[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230314211030.3953195-1-Mr.Bossman075@gmail.com>
Date: Tue, 14 Mar 2023 17:10:30 -0400
From: Jesse Taube <mr.bossman075@...il.com>
To: linux-riscv@...ts.infradead.org
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Jesse Taube <Mr.Bossman075@...il.com>,
Damien Le Moal <damien.lemoal@....com>,
Stephen Boyd <sboyd@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Palmer Dabbelt <palmer@...belt.com>,
Conor Dooley <conor@...nel.org>
Subject: [PATCH v1] RISCV: CANAAN: Make K210_SYSCTL depend on CLK_K210
CLK_K210 is no longer a dependency of SOC_CANAAN,
but K210_SYSCTL depends on CLK_K210. This patch makes K210_SYSCTL
depend on CLK_K210. Also fix whitespace errors.
Reported-by: Randy Dunlap <rdunlap@...radead.org>
Link: https://lore.kernel.org/all/42446784-a88b-df09-41e9-5f685b4df6ee@infradead.org
Fixes: 3af577f9826f ("RISC-V: stop directly selecting drivers for SOC_CANAAN")
Signed-off-by: Jesse Taube <Mr.Bossman075@...il.com>
---
drivers/soc/canaan/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/soc/canaan/Kconfig b/drivers/soc/canaan/Kconfig
index 2527cf5757ec..caf3705d8917 100644
--- a/drivers/soc/canaan/Kconfig
+++ b/drivers/soc/canaan/Kconfig
@@ -2,9 +2,9 @@
config SOC_K210_SYSCTL
bool "Canaan Kendryte K210 SoC system controller"
- depends on RISCV && SOC_CANAAN && OF
+ depends on RISCV && SOC_CANAAN && OF && COMMON_CLK_K210
default SOC_CANAAN
- select PM
- select MFD_SYSCON
+ select PM
+ select MFD_SYSCON
help
Canaan Kendryte K210 SoC system controller driver.
--
2.39.0
Powered by blists - more mailing lists