Commit 0a0a66c9 authored by David Gow's avatar David Gow Committed by Greg Kroah-Hartman

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: default avatarDavid Gow <davidgow@google.com>
Link: https://lore.kernel.org/r/20200630044518.1084468-1-davidgow@google.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c2532beb
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
config COMMON_CLK_XLNX_CLKWZRD config COMMON_CLK_XLNX_CLKWZRD
tristate "Xilinx Clocking Wizard" tristate "Xilinx Clocking Wizard"
depends on COMMON_CLK && OF depends on COMMON_CLK && OF && IOMEM
help help
Support for the Xilinx Clocking Wizard IP core clock generator. Support for the Xilinx Clocking Wizard IP core clock generator.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment