Skip to content

Commit 0a0a66c

Browse files
sulixgregkh
authored andcommitted
clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver
The Xilinx Clocking Wizard 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_COMMON_CLK_XLNX_CLKWZRD depend on CONFIG_IOMEM. Signed-off-by: David Gow <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c2532be commit 0a0a66c

File tree

1 file changed

+1
-1
lines changed
  • drivers/staging/clocking-wizard

1 file changed

+1
-1
lines changed

drivers/staging/clocking-wizard/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
config COMMON_CLK_XLNX_CLKWZRD
77
tristate "Xilinx Clocking Wizard"
8-
depends on COMMON_CLK && OF
8+
depends on COMMON_CLK && OF && IOMEM
99
help
1010
Support for the Xilinx Clocking Wizard IP core clock generator.

0 commit comments

Comments
 (0)