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 48d5151..59d1666 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