clk: qcom: fix driver dependencies
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 7 Apr 2015 12:12:04 +0000 (14:12 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 7 Apr 2015 23:14:54 +0000 (16:14 -0700)
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>
drivers/clk/qcom/Kconfig

index 48d51512d00966aba5baaa052f47a07e93b11388..59d16668bdf5e807ab1cdbf8bc4fd12c3b6fb179 100644 (file)
@@ -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