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