summaryrefslogtreecommitdiff
path: root/drivers
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
parent4c385b25fab119144bffb255ad77712fe586ac10 (diff)
downloadlwn-3937567ded412bd03b327b596a21eb4bb6377702.tar.gz
lwn-3937567ded412bd03b327b596a21eb4bb6377702.zip
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')
-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 48d51512d009..59d16668bdf5 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