summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Kconfig
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2020-06-30 06:32:14 +0200
committerStephen Boyd <sboyd@kernel.org>2020-07-11 18:28:10 +0200
commit1e7468bd9d30a21e059af477106dc5588ae52dff (patch)
tree8c77f6d367ef5df2300f9218a97dfec43ea0c5d3 /drivers/clk/Kconfig
parentclk: AST2600: Add mux for EMMC clock (diff)
downloadlinux-1e7468bd9d30a21e059af477106dc5588ae52dff.tar.xz
linux-1e7468bd9d30a21e059af477106dc5588ae52dff.zip
clk: Specify IOMEM dependency for HSDK pll driver
The HSDK pll driver uses the devm_ioremap_resource function, but does not specify a dependency on IOMEM in Kconfig. This causes a build failure on architectures without IOMEM, for example, UML (notably with make allyesconfig). Fix this by making CONFIG_CLK_HSDK depend on CONFIG_IOMEM. Signed-off-by: David Gow <davidgow@google.com> Link: https://lore.kernel.org/r/20200630043214.1080961-1-davidgow@google.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r--drivers/clk/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 69934c0c3dd8..326f91b2dda9 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -50,6 +50,7 @@ source "drivers/clk/versatile/Kconfig"
config CLK_HSDK
bool "PLL Driver for HSDK platform"
depends on OF || COMPILE_TEST
+ depends on IOMEM
help
This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
control.