From: Bartlomiej Zolnierkiewicz Date: Tue, 7 Apr 2015 12:12:04 +0000 (+0200) Subject: clk: qcom: fix driver dependencies X-Git-Tag: firefly_0821_release~176^2~1909^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3937567ded412bd03b327b596a21eb4bb6377702;p=firefly-linux-kernel-4.4.55.git clk: qcom: fix driver dependencies Support for Qualcomm's clock controllers should be available only on Qualcomm platforms. Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Cc: Mike Turquette Signed-off-by: Stephen Boyd --- 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