clk: clocking-wizard: Depend on HAS_IOMEM
authorStephen Boyd <sboyd@kernel.org>
Mon, 3 Oct 2022 20:26:08 +0000 (13:26 -0700)
committerStephen Boyd <sboyd@kernel.org>
Mon, 3 Oct 2022 20:27:58 +0000 (13:27 -0700)
This driver uses devm_platform_ioremap_resource() and thus depends on
HAS_IOMEM. Add the Kconfig dependency to avoid build issues.

Reported-by: kernel test robot <lkp@intel.com>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Fixes: c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
Link: https://lore.kernel.org/r/20221003202608.2611295-1-sboyd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/xilinx/Kconfig

index 5b99ecfd2f069ce37088d167191f23e40bc91fef..f205522c40ff4c4c420e46f61bfda507c95f5cc4 100644 (file)
@@ -20,6 +20,7 @@ config XILINX_VCU
 config COMMON_CLK_XLNX_CLKWZRD
        tristate "Xilinx Clocking Wizard"
        depends on COMMON_CLK && OF
+       depends on HAS_IOMEM
        help
          Support for the Xilinx Clocking Wizard IP core clock generator.
          Adds support for clocking wizard and compatible.