Skip to contentSkip to conversation

clk: xilinx: Drop duplicate depends on COMMON_CLK

PATCH Applied Stephen Boyd 1 participant 2 messages Oct 3, 2022 – Oct 17, 2022

Subsystems (2)
lore
Share & tools
lore

Stephen Boyd

author maintainer
#0 lore raw

PATCH 1/1 clk: xilinx: Drop duplicate depends on COMMON_CLK

This entire Kconfig file is only included within the if COMMON_CLK section of the drivers/clk/Kconfig file. That makes the depends on COMMON_CLK here redundant. Remove it.

Cc Shubhrajyoti Datta <[email protected]>
---
 drivers/clk/xilinx/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/xilinx/Kconfig +2 -2
index f205522c40ff..051756953558 100644
@@ -2,7 +2,7 @@
 
 config XILINX_VCU
 	tristate "Xilinx VCU logicoreIP Init"
-	depends on HAS_IOMEM && COMMON_CLK
+	depends on HAS_IOMEM
 	select REGMAP_MMIO
 	help
 	  Provides the driver to enable and disable the isolation between the
@@ -19,7 +19,7 @@ config XILINX_VCU
 
 config COMMON_CLK_XLNX_CLKWZRD
 	tristate "Xilinx Clocking Wizard"
-	depends on COMMON_CLK && OF
+	depends on OF
 	depends on HAS_IOMEM
 	help
 	  Support for the Xilinx Clocking Wizard IP core clock generator.

base-commit: c00b5f204041581fadcc6d3de7f9407d2d110035

Signature · 2 lines
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
author maintainer Applied
#1 lore raw

Quoting Stephen Boyd (2022-10-03 13:31:03)

Quoted 7 lines

This entire Kconfig file is only included within the if COMMON_CLK section of the drivers/clk/Kconfig file. That makes the depends on COMMON_CLK here redundant. Remove it.

Cc Shubhrajyoti Datta <[email protected]>

---

Applied to clk-next