clk: Make x86/ conditional on CONFIG_COMMON_CLK
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 23 Jan 2017 18:07:41 +0000 (12:07 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 11:32:55 +0000 (13:32 +0200)
commit f35b6542c3ac3f28056d298348a81f7d56d3a041 upstream.

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>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/Makefile

index 820714c72d368e29fe211d1699c9a68202c98359..af9e9aff49e558c14d6f3b4346325a16b4f51c6f 100644 (file)
@@ -78,7 +78,9 @@ obj-$(CONFIG_ARCH_TEGRA)              += tegra/
 obj-$(CONFIG_ARCH_OMAP2PLUS)           += ti/
 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/
 obj-$(CONFIG_H8300)            += h8300/