diff mbox series

[v1] clk: xgene: Don't build COMMON_CLK_XGENE by default

Message ID 68c0d022-569c-c529-047a-a0bfae17994d@free.fr (mailing list archive)
State New, archived
Headers show
Series [v1] clk: xgene: Don't build COMMON_CLK_XGENE by default | expand

Commit Message

Marc Gonzalez June 12, 2019, 3:03 p.m. UTC
Building COMMON_CLK_XGENE is pointless, unless we're building for
an XGENE system.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---
 drivers/clk/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Boyd June 12, 2019, 3:46 p.m. UTC | #1
Quoting Marc Gonzalez (2019-06-12 08:03:56)
> Building COMMON_CLK_XGENE is pointless, unless we're building for
> an XGENE system.
> 
> Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index fc1e0cf44995..b97974662a1f 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -215,7 +215,7 @@  config CLK_QORIQ
 
 config COMMON_CLK_XGENE
 	bool "Clock driver for APM XGene SoC"
-	default y
+	default ARCH_XGENE
 	depends on ARM64 || COMPILE_TEST
 	---help---
 	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.