OSDN Git Service

clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver
authorDavid Gow <davidgow@google.com>
Tue, 30 Jun 2020 04:45:17 +0000 (21:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jul 2020 13:43:05 +0000 (15:43 +0200)
commit0a0a66c984b383af3d0943edd3887dd7634e208e
tree04766401af34055b2281909a6663117450247591
parentc2532bebba0bb6106e7074f4b127c70d6305f710
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 <davidgow@google.com>
Link: https://lore.kernel.org/r/20200630044518.1084468-1-davidgow@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/clocking-wizard/Kconfig