From: Geert Uytterhoeven Date: Fri, 7 Aug 2020 09:43:51 +0000 (+0200) Subject: clk: Restrict CLK_HSDK to ARC_SOC_HSDK X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f6bade6875d7458e7f395d6a1bc317a1caecbc1d;p=linux.git clk: Restrict CLK_HSDK to ARC_SOC_HSDK The HSDK PLL driver is only useful when building for an ARC HSDK platform. As ARC selects OF, the dependency on OF can just be replaced by a dependency on ARC_SOC_HSDK. Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20200807094351.1046-1-geert+renesas@glider.be Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 4026fac9fac33..a55147d07efc2 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -49,7 +49,7 @@ source "drivers/clk/versatile/Kconfig" config CLK_HSDK bool "PLL Driver for HSDK platform" - depends on OF || COMPILE_TEST + depends on ARC_SOC_HSDK || COMPILE_TEST depends on HAS_IOMEM help This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs