From: Bartlomiej Zolnierkiewicz Date: Tue, 7 Apr 2015 12:12:04 +0000 (+0200) Subject: clk: qcom: fix driver dependencies X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3937567ded412bd03b327b596a21eb4bb6377702;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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