diff mbox

[v8,1/5] clk: Make x86/ conditional on CONFIG_COMMON_CLK

Message ID 1485194865-10400-2-git-send-email-pierre-louis.bossart@linux.intel.com (mailing list archive)
State Accepted
Delegated to: Stephen Boyd
Headers show

Commit Message

Pierre-Louis Bossart Jan. 23, 2017, 6:07 p.m. UTC
Fix Makefile for x86 support, dependency on CONFIG_COMMON_CLK
was not explicit

Fixes: 701190fd7419 ('clk: x86: add support for Lynxpoint LPSS clocks')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 drivers/clk/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stephen Boyd Jan. 27, 2017, 12:22 a.m. UTC | #1
On 01/23, Pierre-Louis Bossart wrote:
> Fix Makefile for x86 support, dependency on CONFIG_COMMON_CLK
> was not explicit
> 
> Fixes: 701190fd7419 ('clk: x86: add support for Lynxpoint LPSS clocks')
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> ---

Applied to clk-next
diff mbox

Patch

diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index 925081e..42042c0 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -87,6 +87,8 @@  obj-y					+= ti/
 obj-$(CONFIG_CLK_UNIPHIER)		+= uniphier/
 obj-$(CONFIG_ARCH_U8500)		+= ux500/
 obj-$(CONFIG_COMMON_CLK_VERSATILE)	+= versatile/
+ifeq ($(CONFIG_COMMON_CLK), y)
 obj-$(CONFIG_X86)			+= x86/
+endif
 obj-$(CONFIG_ARCH_ZX)			+= zte/
 obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/