From: Marc Gonzalez Date: Wed, 12 Jun 2019 15:03:56 +0000 (+0200) Subject: clk: xgene: Don't build COMMON_CLK_XGENE by default X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ce9a1046434caee1d4c33a63712fdb18e6904a02;p=linux.git clk: xgene: Don't build COMMON_CLK_XGENE by default Building COMMON_CLK_XGENE is pointless, unless we're building for an XGENE system. Signed-off-by: Marc Gonzalez Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index fc1e0cf44995d..b97974662a1f6 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.