[PATCH] clk: mediatek: Add hardware dependency

Jean Delvare jdelvare at suse.de
Fri Oct 14 05:44:13 PDT 2016


Only propose the mediatek clock drivers on this platform, unless
build-testing.

Signed-off-by: Jean Delvare <jdelvare at suse.de>
Cc: Shunli Wang <shunli.wang at mediatek.com>
Cc: James Liao <jamesjj.liao at mediatek.com>
Cc: Erin Lo <erin.lo at mediatek.com>
Cc: Matthias Brugger <matthias.bgg at gmail.com>
Cc: Stephen Boyd <sboyd at codeaurora.org>
Cc: Michael Turquette <mturquette at baylibre.com>
---
 drivers/clk/mediatek/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- linux-4.9-rc0.orig/drivers/clk/mediatek/Kconfig	2016-10-13 11:39:40.416106971 +0200
+++ linux-4.9-rc0/drivers/clk/mediatek/Kconfig	2016-10-14 14:37:48.319588483 +0200
@@ -8,6 +8,7 @@ config COMMON_CLK_MEDIATEK
 
 config COMMON_CLK_MT8135
 	bool "Clock driver for Mediatek MT8135"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---
@@ -15,6 +16,7 @@ config COMMON_CLK_MT8135
 
 config COMMON_CLK_MT8173
 	bool "Clock driver for Mediatek MT8173"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---


-- 
Jean Delvare
SUSE L3 Support



More information about the Linux-mediatek mailing list