[PATCH] clk: clocking-wizard: Depend on HAS_IOMEM
From: Stephen Boyd
Date: Mon Oct 03 2022 - 16:26:33 EST
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@xxxxxxxxx>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx>
Fixes: c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
---
drivers/clk/xilinx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/xilinx/Kconfig b/drivers/clk/xilinx/Kconfig
index 5b99ecfd2f06..f205522c40ff 100644
--- a/drivers/clk/xilinx/Kconfig
+++ b/drivers/clk/xilinx/Kconfig
@@ -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.
base-commit: e8db788d686a2a2e5318364a1942d01c3cc83d87
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git