summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-08-07 11:43:51 +0200
committerStephen Boyd <sboyd@kernel.org>2020-10-14 19:17:00 +0200
commitf6bade6875d7458e7f395d6a1bc317a1caecbc1d (patch)
tree943d41c8030b66590f5e005d96d0385c6d9c8b1a /drivers/clk
parentLinux 5.9-rc1 (diff)
downloadlinux-f6bade6875d7458e7f395d6a1bc317a1caecbc1d.tar.xz
linux-f6bade6875d7458e7f395d6a1bc317a1caecbc1d.zip
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 <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200807094351.1046-1-geert+renesas@glider.be Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 4026fac9fac3..a55147d07efc 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