Skip to content

Commit 49f965b

Browse files
Mr-BossmanConchuOD
authored andcommitted
soc: 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@infradead.org> Link: https://lore.kernel.org/all/42446784-a88b-df09-41e9-5f685b4df6ee@infradead.org Fixes: 3af577f ("RISC-V: stop directly selecting drivers for SOC_CANAAN") Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com> Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent fe15c26 commit 49f965b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/soc/canaan/Kconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
config SOC_K210_SYSCTL
44
bool "Canaan Kendryte K210 SoC system controller"
55
depends on RISCV && SOC_CANAAN && OF
6+
depends on COMMON_CLK_K210
67
default SOC_CANAAN
7-
select PM
8-
select MFD_SYSCON
8+
select PM
9+
select MFD_SYSCON
910
help
1011
Canaan Kendryte K210 SoC system controller driver.

0 commit comments

Comments
 (0)