Skip to content

Commit 1e7468b

Browse files
sulixbebarino
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent c2407ab commit 1e7468b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ source "drivers/clk/versatile/Kconfig"
5050
config CLK_HSDK
5151
bool "PLL Driver for HSDK platform"
5252
depends on OF || COMPILE_TEST
53+
depends on IOMEM
5354
help
5455
This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
5556
control.

0 commit comments

Comments
 (0)