summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2015-04-07 14:12:04 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-04-07 16:14:54 -0700
commit3937567ded412bd03b327b596a21eb4bb6377702 (patch)
tree63015a133c2a8a5b9b3e75f40185409c0d9e44b3 /drivers/clk
parent4c385b25fab119144bffb255ad77712fe586ac10 (diff)
downloadop-kernel-dev-3937567ded412bd03b327b596a21eb4bb6377702.zip
op-kernel-dev-3937567ded412bd03b327b596a21eb4bb6377702.tar.gz
clk: qcom: fix driver dependencies
Support for Qualcomm's clock controllers should be available only on Qualcomm platforms. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/qcom/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 48d5151..59d1666 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -1,6 +1,7 @@
config COMMON_CLK_QCOM
tristate "Support for Qualcomm's clock controllers"
depends on OF
+ depends on ARCH_QCOM || COMPILE_TEST
select REGMAP_MMIO
select RESET_CONTROLLER
OpenPOWER on IntegriCloud