Skip to contentSkip to conversation

clk: sprd: Add dependency for SPRD_UMS512_CLK

PATCH Applied Cixi Geng 2 participants 2 messages Feb 1, 2023 – Feb 11, 2023

Subsystems (2)
lore
Share & tools
lore

Cixi Geng

author
#0 lore raw

PATCH 1/1 clk: sprd: Add dependency for SPRD_UMS512_CLK

From: Cixi Geng <[email protected]>

Add depends on and default for ums512 clk config.

---
 drivers/clk/sprd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/clk/sprd/Kconfig +2 -0
index c744bd9d2f96..2f19c8d58ff2 100644
@@ -24,6 +24,8 @@ config SPRD_SC9863A_CLK
 
 config SPRD_UMS512_CLK
 	tristate "Support for the Spreadtrum UMS512 clocks"
+	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
+	default ARM64 && ARCH_SPRD
 	help
 	  Support for the global clock controller on ums512 devices.
 	  Say Y if you want to use peripheral devices on ums512 SoC.
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw

Quoting Cixi Geng (2023-02-01 01:13:00)

Quoted 6 lines

From: Cixi Geng <[email protected]>

Add depends on and default for ums512 clk config.

---

Applied to clk-next

The ARM64 dependency is redundant though so maybe you should remove that too in another patch.